Fix windows install dll directory
@@ -27,9 +27,13 @@ if (MINGW)
endif()
endif()
-install(TARGETS sbp
+install(
+ TARGETS sbp
EXPORT sbp-export
- DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+)
install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/libsbp/" DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/libsbp")
export(EXPORT sbp-export
