CMake/Tests/RunCMake/ObsoleteQtMacros/RunCMakeTest.cmake
Stephen Kelly cb7f32f5b8 Mark qt4_use_modules and qt4_automoc as obsolete.
The QT_QMAKE_EXECUTABLE has to be passed through the cmake calls because
the executable may not be in the PATH.
2013-07-14 10:05:04 +02:00

7 lines
162 B
CMake

include(RunCMake)
set(RunCMake_TEST_OPTIONS -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE})
run_cmake(UseModulesMacro-WARN)
run_cmake(AutomocMacro-WARN)