Hide the use of FetchContent behind a flag
FetchContent is now disabled by default, when the project is included as an subproject by another top-level project. Also, every usage of FetchContent is behind a separate flag to enable and disable the usage with granular control.
This commit is contained in:
@@ -14,6 +14,7 @@ target_include_directories(tests_dramsys PUBLIC ${PROJECT_SOURCE_DIR})
|
||||
set_target_properties(tests_dramsys PROPERTIES FOLDER tests)
|
||||
target_link_libraries(tests_dramsys
|
||||
DRAMSys::libdramsys
|
||||
gtest
|
||||
gtest_main
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user