Skip to content

Commit 8903cb6

Browse files
author
Benjamin Sparks
committed
build-system: tests do not require the static library
1 parent 48240cf commit 8903cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ if((NOT SOBJECTIZER_BUILD_STATIC) AND (NOT SOBJECTIZER_BUILD_SHARED))
2121
endif()
2222

2323
if(NOT SOBJECTIZER_BUILD_STATIC)
24-
if(BUILD_ALL OR BUILD_EXAMPLES OR BUILD_TESTS)
25-
message(FATAL_ERROR "BUILD_ALL/BUILD_EXAMPLES/BUILD_TESTS can't be used"
24+
if(BUILD_ALL OR BUILD_EXAMPLES)
25+
message(FATAL_ERROR "BUILD_ALL/BUILD_EXAMPLES can't be used"
2626
" if SOBJECTIZER_BUILD_STATIC is OFF")
2727
endif()
2828
endif()

0 commit comments

Comments
 (0)