Skip to content
Snippets Groups Projects
Verified Commit 7d691da6 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CPM] Mark includes as SYSTEM.

parent da9c9f11
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ if(BUILD_TESTING)
)
if(autocheck_ADDED)
add_library(autocheck INTERFACE IMPORTED)
target_include_directories(autocheck INTERFACE ${autocheck_SOURCE_DIR}/include)
target_include_directories(autocheck SYSTEM INTERFACE ${autocheck_SOURCE_DIR}/include)
endif()
CPMAddPackage(
......@@ -39,7 +39,7 @@ CPMAddPackage(
)
if(exprtk_ADDED)
add_library(exprtk INTERFACE IMPORTED)
target_include_directories(exprtk INTERFACE ${exprtk_SOURCE_DIR})
target_include_directories(exprtk SYSTEM INTERFACE ${exprtk_SOURCE_DIR})
endif()
CPMAddPackage(
......@@ -56,7 +56,7 @@ CPMAddPackage(
)
if(tclap_ADDED)
add_library(tclap INTERFACE IMPORTED)
target_include_directories(tclap INTERFACE ${tclap_SOURCE_DIR}/include)
target_include_directories(tclap SYSTEM INTERFACE ${tclap_SOURCE_DIR}/include)
endif()
CPMAddPackage(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment