Re: [CMake] Cannot include third-party Framework headers directories as system directories in XCode for avoiding their warning

2016-05-11 Thread Gregor Jasny via CMake
Hello, On 11/05/16 09:25, Attila Krasznahorkay wrote: > I'm a bit surprised by this. I had to explicitly tell CMake not to treat > includes coming from imported targets as system includes. Using this variable: > > https://cmake.org/cmake/help/v3.0/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.html >

Re: [CMake] Cannot include third-party Framework headers directories as system directories in XCode for avoiding their warning

2016-05-11 Thread Attila Krasznahorkay
Hi, I'm a bit surprised by this. I had to explicitly tell CMake not to treat includes coming from imported targets as system includes. Using this variable: https://cmake.org/cmake/help/v3.0/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.html

[CMake] Cannot include third-party Framework headers directories as system directories in XCode for avoiding their warning

2016-05-10 Thread tetractius
Hi list, I have an issue caused by a warning in the qt5 brew version in osx when using Xcode generator I can safely find the qt framework in the brew cellar: set(CMAKE_PREFIX_PATH /usr/local/opt/qt5) find_package(Qt5Widgets REQUIRED) and with this I can easily add this framework to my project