Skip to content

Commit 6f43b6b

Browse files
committed
Make building tests optional and default to off again
Note the option command had the off in the wrong place, it should be at the end so I fixed that
1 parent 3febcce commit 6f43b6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
5050
set(MASTER_PROJECT ON)
5151
endif()
5252

53-
add_subdirectory(test)
54-
5553
if (${STRONG_TYPE_UNIT_TEST})
56-
54+
add_subdirectory(test)
5755
endif()
5856

5957
write_basic_package_version_file(

0 commit comments

Comments
 (0)