diff --git a/CMakeLists.txt b/CMakeLists.txt index b80041e01..bc11d30c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,4 +43,4 @@ endif() install(FILES "${CMAKE_CURRENT_BINARY_DIR}/src/config.h" "${CMAKE_CURRENT_BINARY_DIR}/src/modbus-version.h" DESTINATION "include") -install(TARGETS libmodbus COMPONENT runtime) \ No newline at end of file +install(TARGETS libmodbus RUNTIME DESTINATION bin COMPONENT runtime) \ No newline at end of file