As an additional piece if information, if I run cmake with "-G Xcode" the
command line contains:

   - -F/usr/local/opt/qt/lib
   - -F/Users/<username>/src/<project_name>/xcode/bin


but if I run cmake with "-G Ninja" the command line contains:

   - -iframework /usr/local/opt/qt/lib


On Tue, Oct 22, 2019 at 11:50 AM Christopher W. Steenwyk <
csteen...@gmail.com> wrote:

> We are using the imported targets of Qt5 on macOS. When we do this the
> command line shows the include paths to the frameworks directory as
> "-F<path>" where we would have expected "-iframework <path>". The former is
> leading the compiler to give us warnings when compiling the Qt provided
> header.
>
> Any ideas on how to remedy this?
> Thanks!
>
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to