Commit bcfc2e84 authored by Jaime van Kessel's avatar Jaime van Kessel Committed by Martin Weismann
Browse files

Use option instead of set & cache

parent 6b325c93
Showing with 1 addition and 1 deletion
+1 -1
......@@ -140,7 +140,7 @@ install(DIRECTORY Include/Common DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
#########################################################
set(LIB3MF_TESTS CACHE BOOL TRUE)
option(LIB3MF_TESTS "Switch whether the tests of Lib3MF should be build" ON)
message("LIB3MF_TESTS ... " ${LIB3MF_TESTS})
if(LIB3MF_TESTS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment