Hi All,

I have an issue with cmake-qt where i need to ensure an include path set by the include_directories() command is after include paths that are added by the target_link_libraries() command or by the qt5_use_modules() command. In both cases the AFTER option on the include_directories() command doesn't seem to help me. Most of the Qt include paths get added to the end of the list, for some reason QtCore doesn't, and I can't find a way to force the ordering I need.

I don't know if this an issue with the Qt CMake files or a generic issue with target properties vs. using the include_directories() command.

Any ideas how I can control the ordering or reorder the TARGET_INCLUDE_DIRECTORIES property?

TIA
Bill.
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to