[Groonga-commit] groonga/groonga [master] cmake: add pthread.h check on non Windows

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 12日 (木) 15:35:34 JST


Kouhei Sutou	2012-04-12 15:35:34 +0900 (Thu, 12 Apr 2012)

  New Revision: 63dd2e84d680b88655c2d6c27970a47a1fd4d66b

  Log:
    cmake: add pthread.h check on non Windows

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+4 -0)
===================================================================
--- CMakeLists.txt    2012-04-12 15:29:04 +0900 (8ecd627)
+++ CMakeLists.txt    2012-04-12 15:35:34 +0900 (0deb6fe)
@@ -41,4 +41,8 @@ endmacro()
 
 include(build/ac-macros/check-headers.m4)
 
+if(NOT WIN32)
+  ac_check_headers(pthread.h)
+endif()
+
 configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)




Groonga-commit メーリングリストの案内
Back to archive index