mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -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
132 B
CMake
8 lines
132 B
CMake
|
|
find_package(Qt4 REQUIRED)
|
|
|
|
set(CMAKE_WARN_DEPRECATED 1)
|
|
|
|
add_library(foo SHARED empty.cpp)
|
|
qt4_use_modules(foo LINK_PRIVATE Core)
|