diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fa0fe26..c3bc351 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,7 +66,9 @@ endif() if(BUILD_FOR_LABMCT) set_target_properties(qhttpengine PROPERTIES INSTALL_RPATH "${LABMCT_RPATH}") - install(TARGETS qhttpengine LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}) + install(TARGETS qhttpengine + LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX} + RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}) else() install(TARGETS qhttpengine EXPORT qhttpengine-export RUNTIME DESTINATION "${BIN_INSTALL_DIR}" @@ -95,4 +97,4 @@ configure_file(qhttpengine.pc.in "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine.pc" @O install(FILES "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig" ) -endif() \ No newline at end of file +endif()