Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-30 Thread Charlie Sharpsteen
David Cole wrote On Tue, May 29, 2012 at 2:33 PM, Charlie Sharpsteen lt;chuck@gt;wrote: So, is there any reason `IF(NOT DEFINED CMAKE_FIND_FRAMEWORK)` cannot be used in the platform file to protect command line arguments? I can't think of a good reason not to use that construct

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-29 Thread Charlie Sharpsteen
Charlie Sharpsteen wrote Rolf Eike Beer wrote Because those value is set in the Darwin platform file (Modules/Platform/Darwin.cmake) which is taken into account by the PROJECT() call. So this is just overridden. Eike Any reason those definitions can't be protected

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-03 Thread Charlie Sharpsteen
Rolf Eike Beer wrote Because those value is set in the Darwin platform file (Modules/Platform/Darwin.cmake) which is taken into account by the PROJECT() call. So this is just overridden. Eike Any reason those definitions can't be protected by `IF(NOT DEFINED CMAKE_FIND_FRAMEWORK)`?

[CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-02 Thread Charlie Sharpsteen
This is observed OS X 10.6.8, XCode 4.2.6 and 10.7.3, XCode 4.3 with CMake 2.8.8. Say I have the following CMakeLists.txt: PROJECT(find_tst) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) MESSAGE(STATUS Value of CMAKE_FIND_FRAMEWORK: ${CMAKE_FIND_FRAMEWORK}) Why does CMAKE_FIND_FRAMEWORK

[CMake] FindQt4 errors out when locating QtUITools under CMake 2.8.5

2011-07-25 Thread Charlie Sharpsteen
I ran into an issue after upgrading from CMake 2.8.4 to 2.8.5---the following no longer works: FIND_PACKAGE(Qt4 COMPONENTS QtUiTools REQUIRED) I traced the problem down to a hunk in commit e7f05d9759ec5bc393760daee91bb7223f6c56d0: diff --git a/Modules/FindQt4.cmake

Re: [CMake] FindQt4 errors out when locating QtUITools under CMake 2.8.5

2011-07-25 Thread Charlie Sharpsteen
Clinton Stimpson wrote: Thanks for finding. Its been fixed in git. 702538e Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X I can confirm that that patch fixes the problem. Thanks a bunch! -Charlie -- View this message in context: