Sfoglia il codice sorgente

Use OATPP_LINK_TEST_LIBRARY instead of OATPP_BUILD_TESTS

Jacob Lauritzen 2 anni fa
parent
commit
0130e6da57
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/CMakeLists.txt

+ 1 - 1
src/CMakeLists.txt

@@ -330,7 +330,7 @@ target_include_directories(oatpp PUBLIC
 #######################################################################################################
 ## oatpp-test
 
-if(OATPP_BUILD_TESTS)
+if(OATPP_LINK_TEST_LIBRARY)
 
 	add_library(oatpp-test
 			oatpp-test/Checker.cpp