We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 901c0db + d373c45 commit d0c3b9cCopy full SHA for d0c3b9c
CMakeLists.txt
@@ -10,7 +10,7 @@ if( CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX )
10
find_package(Threads)
11
endif()
12
13
-option( BUILD_UNITTESTS
+option( CPPCORE_BUILD_UNITTESTS
14
"Build unit tests."
15
ON
16
)
@@ -123,7 +123,7 @@ ADD_LIBRARY( cppcore SHARED
123
124
125
126
-IF( BUILD_UNITTESTS )
+IF( CPPCORE_BUILD_UNITTESTS )
127
SET( cppcore_test_src
128
test/CPPCoreCommonTest.cpp
129
@@ -177,4 +177,4 @@ IF( BUILD_UNITTESTS )
177
SET( platform_libs pthread )
178
ENDIF( WIN32 )
179
target_link_libraries( cppcore_unittest cppcore ${CMAKE_THREAD_LIBS_INIT} gtest_main ${platform_libs} )
180
-ENDIF( BUILD_UNITTESTS )
+ENDIF()
0 commit comments