diff options
Diffstat (limited to 'examples/network/fortuneserver/CMakeLists.txt')
-rw-r--r-- | examples/network/fortuneserver/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/network/fortuneserver/CMakeLists.txt b/examples/network/fortuneserver/CMakeLists.txt index 43ca6f7d2b..fb2a681413 100644 --- a/examples/network/fortuneserver/CMakeLists.txt +++ b/examples/network/fortuneserver/CMakeLists.txt @@ -14,7 +14,7 @@ set(INSTALL_EXAMPLEDIR "examples") find_package(Qt5 COMPONENTS Network) find_package(Qt5 COMPONENTS Widgets) -add_qt_gui_executable(fortuneserver WIN32 MACOSX_BUNDLE +add_qt_gui_executable(fortuneserver main.cpp server.cpp server.h ) @@ -26,4 +26,5 @@ target_link_libraries(fortuneserver PUBLIC install(TARGETS fortuneserver RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) |