diff options
Diffstat (limited to 'examples/qtconcurrent/map/.prev_CMakeLists.txt')
-rw-r--r-- | examples/qtconcurrent/map/.prev_CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/qtconcurrent/map/.prev_CMakeLists.txt b/examples/qtconcurrent/map/.prev_CMakeLists.txt index cd53409ec8..8e158b2397 100644 --- a/examples/qtconcurrent/map/.prev_CMakeLists.txt +++ b/examples/qtconcurrent/map/.prev_CMakeLists.txt @@ -9,8 +9,10 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/qtconcurrent/map") +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) add_executable(mapdemo @@ -18,9 +20,12 @@ add_executable(mapdemo ) target_link_libraries(mapdemo PUBLIC Qt::Concurrent + Qt::Core + Qt::Gui ) install(TARGETS mapdemo RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) |