[Groonga-commit] groonga/groonga at 66d0465 [master] cmake: remove needless embedded check

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Mar 8 17:03:05 JST 2015


Kouhei Sutou	2015-03-08 17:03:05 +0900 (Sun, 08 Mar 2015)

  New Revision: 66d046536f4fa762c12c9da010367183c023bcdf
  https://github.com/groonga/groonga/commit/66d046536f4fa762c12c9da010367183c023bcdf

  Message:
    cmake: remove needless embedded check

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+0 -2)
===================================================================
--- CMakeLists.txt    2015-03-08 17:00:58 +0900 (b90bf41)
+++ CMakeLists.txt    2015-03-08 17:03:05 +0900 (1d0a6bc)
@@ -192,14 +192,12 @@ if(CMAKE_COMPILER_IS_GNUCXX)
   check_build_flag("-Wno-clobbered")
 endif()
 
-if(GRN_EMBED)
   if(NOT DEFINED CMAKE_C_COMPILE_OPTIONS_PIC)
     # For old CMake
     if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
       check_build_flag("-fPIC")
     endif()
   endif()
-endif()
 
 option(GRN_WITH_DEBUG "enable debug build." OFF)
 if(GRN_WITH_DEBUG)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index