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