workaround cmake issue
cmake does not properly interpret the SYSTEM marker in lists of include directories. this causes issues downstream when using dunecontrol / the in-tree cmake config files.
This commit is contained in:
parent
a194c8a1fc
commit
fac6695d15
@ -76,8 +76,9 @@ macro (config_hook)
|
||||
|
||||
# For this project
|
||||
add_definitions(-DFMT_HEADER_ONLY)
|
||||
list(APPEND EXTRA_INCLUDES SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||
include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||
include_directories(${EXTRA_INCLUDES} ${PROJECT_BINARY_DIR}/include)
|
||||
list(APPEND EXTRA_INCLUDES ${PROJECT_SOURCE_DIR}/external/fmtlib/include)
|
||||
|
||||
# For downstreams
|
||||
list(APPEND EXTRA_INCLUDES ${PROJECT_BINARY_DIR}/include)
|
||||
|
Loading…
Reference in New Issue
Block a user