You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its possible to move all INTERFACE_INCLUDE_DIRECTORIES to INTERFACE_SYSTEM_INCLUDE_DIRECTORIES manually with something like:
# Grab the public includes from a targetget_target_property(IID ${TARGET} INTERFACE_INCLUDE_DIRECTORIES)
# Set the targets public includes as its system includesset_target_properties(${TARGET}PROPERTIES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${IID}")
Could CPM do this automatically based on the version?
From my understanding this could be transparent to users.
The text was updated successfully, but these errors were encountered:
Cmake versions older than 3.25 do not have the
SYSTEM
target property.Its possible to move all
INTERFACE_INCLUDE_DIRECTORIES
toINTERFACE_SYSTEM_INCLUDE_DIRECTORIES
manually with something like:Could CPM do this automatically based on the version?
From my understanding this could be transparent to users.
The text was updated successfully, but these errors were encountered: