CMake 2.8.11 introduces target_include_directories
and target_compile_definitions
. However some of the devices I am working one has 2.8.9. And I don't want to compile and build latest CMake there. So what is the alternative that I can use conditionally for those devices ?
How to check whether this cmake have target_include_directories
or not from inside the CMakeLists.txt ?
Aucun commentaire:
Enregistrer un commentaire