Kouhei Sutou
null+****@clear*****
Thu Jun 18 21:49:07 JST 2015
Kouhei Sutou 2015-06-18 21:49:07 +0900 (Thu, 18 Jun 2015) New Revision: f2b78966fd659bd6857807b45f14e9613dbe36c0 https://github.com/mroonga/mroonga/commit/f2b78966fd659bd6857807b45f14e9613dbe36c0 Message: cmake: fix syntax error Modified files: CMakeLists.txt Modified: CMakeLists.txt (+2 -2) =================================================================== --- CMakeLists.txt 2015-06-18 21:28:14 +0900 (4c64c32) +++ CMakeLists.txt 2015-06-18 21:49:07 +0900 (8635d2e) @@ -401,10 +401,10 @@ set(MRN_DEFAULT_PARSER "" CACHE STRING "The default fulltext parser (Deprecated. Use MRN_DEFAULT_TOKENIZER instead.)") set(MRN_DEFAULT_TOKENIZER "" CACHE STRING "The default tokenizer for fulltext index") -if(${MRN_DEFAULT_TOKENIZER} != "") +if(NOT ${MRN_DEFAULT_TOKENIZER} STREQUAL "") set_property(TARGET mroonga APPEND PROPERTY COMPILE_DEFINITIONS "MRN_DEFAULT_TOKENIZER=\"${MRN_DEFAULT_TOKENIZER}\"") -elseif(${MRN_DEFAULT_PARSER} != "") +elseif(NOT ${MRN_DEFAULT_PARSER} STREQUAL "") set_property(TARGET mroonga APPEND PROPERTY COMPILE_DEFINITIONS "MRN_DEFAULT_TOKENIZER=\"${MRN_DEFAULT_PARSER}\"") endif() -------------- next part -------------- HTML����������������������������... Download