Is there a way to use both -isystem and -I on the same path in CMake? I am currently doing something like the following:
add_library(lib SHARED libSource.cpp) target_include_directories(lib PUBLIC pathA) target_include_directories(lib SYSTEM PUBLIC pathA)
When I run make VERBOSE=1, the build flags for lib only include -isystem pathA, where I need both -isystem pathA and -IpathA.
Aucun commentaire:
Enregistrer un commentaire