Build maxbase tests only if BUILD_TESTS in on
This commit is contained in:
@ -20,4 +20,7 @@ target_link_libraries(maxbase systemd)
|
||||
endif()
|
||||
|
||||
set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
|
||||
if (BUILD_TESTS)
|
||||
add_subdirectory(test)
|
||||
endif()
|
Reference in New Issue
Block a user