cmake: do not include subdirectory 'test' if building all
This commit is contained in:
parent
b72a7e76d9
commit
c33d45b92f
@ -40,7 +40,7 @@ install(EXPORT SgnlTargets
|
||||
NAMESPACE sgnl::
|
||||
DESTINATION lib/cmake/sgnl)
|
||||
|
||||
add_subdirectory("test")
|
||||
add_subdirectory("test" EXCLUDE_FROM_ALL)
|
||||
|
||||
add_executable(example EXCLUDE_FROM_ALL "example/example.cpp")
|
||||
target_link_libraries(example sgnl::sgnl)
|
||||
|
Reference in New Issue
Block a user