Explorar el Código

Use OATPP_LINK_TEST_LIBRARY instead of OATPP_BUILD_TESTS

Jacob Lauritzen hace 2 años
padre
commit
0130e6da57
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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