Commit f03d1a16 authored by louiz’'s avatar louiz’

Only download Catch when the test_suite target is built

parent 580b721b
...@@ -175,6 +175,7 @@ ExternalProject_Add(catch ...@@ -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/"
......
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