Re: [CMake] AUTOUIC generated headers not found by lib that uses lib with headers

2018-07-30 Thread Robert Maynard
You need to defer the evaluation of the include directory to generate time, which will know what exactly build type is needed. This is done by using `$` instead of `${CMAKE_BUILD_TYPE`. Something like the following should work: set(directory

[CMake] AUTOUIC generated headers not found by lib that uses lib with headers

2018-07-30 Thread Jim Carroll
I have a project that I'm updating from Cmake 3.5 to 3.12. In the project, I have UI libraries that use other libraries, both of which use Qt 5.6. The lowest-level library uses AUTOUIC and I see the headers are generated in the new lib_autogen/include_BUILD_CONFIG directory. When my higher level