Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ if( CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX )
find_package(Threads)
endif()

option( BUILD_UNITTESTS
option( CPPCORE_BUILD_UNITTESTS
"Build unit tests."
ON
)
Expand DownExpand Up@@ -123,7 +123,7 @@ ADD_LIBRARY( cppcore SHARED
)


IF( BUILD_UNITTESTS )
IF( CPPCORE_BUILD_UNITTESTS )
SET( cppcore_test_src
test/CPPCoreCommonTest.cpp
)
Expand DownExpand Up@@ -177,4 +177,4 @@ IF( BUILD_UNITTESTS )
SET( platform_libs pthread )
ENDIF( WIN32 )
target_link_libraries( cppcore_unittest cppcore ${CMAKE_THREAD_LIBS_INIT} gtest_main ${platform_libs} )
ENDIF( BUILD_UNITTESTS )
ENDIF()