mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
cb7f32f5b8
The QT_QMAKE_EXECUTABLE has to be passed through the cmake calls because the executable may not be in the PATH.
8 lines
129 B
CMake
8 lines
129 B
CMake
|
|
find_package(Qt4 REQUIRED)
|
|
|
|
set(CMAKE_WARN_DEPRECATED 1)
|
|
|
|
add_library(foo SHARED empty.cpp)
|
|
qt4_automoc(foo_moc_srcs empty.cpp)
|