diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-04-04 13:53:41 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-04-05 08:47:20 +0000 |
commit | c53c9592faae66188512a5a067de1235cc37d697 (patch) | |
tree | a06ecd7121343ba5beec68612a7d7abb7f58d6ab /doc | |
parent | da7009ac164f7df847739dd63de1e8595825cb9c (diff) | |
download | qt-creator-c53c9592faae66188512a5a067de1235cc37d697.tar.gz |
CMakeProject templates/examples: Fix the install line
The installation command needs to define
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Fixes: QTCREATORBUG-28999
Change-Id: If3f6ed15ef248eb07628bdc9fa4d11a678839a27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/qtcreator/examples/accelbubble/CMakeLists.txt | 4 | ||||
-rw-r--r-- | doc/qtcreator/examples/textfinder/CMakeLists.txt | 4 | ||||
-rw-r--r-- | doc/qtcreator/examples/transitions/CMakeLists.txt | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/doc/qtcreator/examples/accelbubble/CMakeLists.txt b/doc/qtcreator/examples/accelbubble/CMakeLists.txt index 868e5ea133..9e67614807 100644 --- a/doc/qtcreator/examples/accelbubble/CMakeLists.txt +++ b/doc/qtcreator/examples/accelbubble/CMakeLists.txt @@ -40,6 +40,8 @@ target_link_libraries(appaccelbubble install(TARGETS appaccelbubble BUNDLE DESTINATION . - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +) qt_finalize_executable(appaccelbubble) diff --git a/doc/qtcreator/examples/textfinder/CMakeLists.txt b/doc/qtcreator/examples/textfinder/CMakeLists.txt index 77a0ba8c15..a00ccd856b 100644 --- a/doc/qtcreator/examples/textfinder/CMakeLists.txt +++ b/doc/qtcreator/examples/textfinder/CMakeLists.txt @@ -62,7 +62,9 @@ set_target_properties(TextFinder PROPERTIES install(TARGETS TextFinder BUNDLE DESTINATION . - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +) if(QT_VERSION_MAJOR EQUAL 6) qt_finalize_executable(TextFinder) diff --git a/doc/qtcreator/examples/transitions/CMakeLists.txt b/doc/qtcreator/examples/transitions/CMakeLists.txt index 3dec945039..8b363fc8e2 100644 --- a/doc/qtcreator/examples/transitions/CMakeLists.txt +++ b/doc/qtcreator/examples/transitions/CMakeLists.txt @@ -33,4 +33,6 @@ target_link_libraries(apptransitions install(TARGETS apptransitions BUNDLE DESTINATION . - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +) |