Only download Catch when the test_suite target is built
This commit is contained in:
@@ -175,6 +175,7 @@ ExternalProject_Add(catch
|
|||||||
BUILD_COMMAND ""
|
BUILD_COMMAND ""
|
||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
)
|
)
|
||||||
|
set_target_properties(catch PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||||
ExternalProject_Get_Property(catch SOURCE_DIR)
|
ExternalProject_Get_Property(catch SOURCE_DIR)
|
||||||
target_include_directories(test_suite
|
target_include_directories(test_suite
|
||||||
PUBLIC "${SOURCE_DIR}/include/"
|
PUBLIC "${SOURCE_DIR}/include/"
|
||||||
|
|||||||
Reference in New Issue
Block a user