mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-12 09:20:41 -06:00
`AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
11 lines
322 B
CMake
11 lines
322 B
CMake
enable_language(CXX)
|
|
|
|
find_package(Qt${with_qt_version} REQUIRED COMPONENTS Core Widgets Gui)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
add_library(dummy SHARED empty.cpp)
|
|
target_link_libraries(dummy Qt${with_qt_version}::Core
|
|
Qt${with_qt_version}::Widgets
|
|
Qt${with_qt_version}::Gui)
|