Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6132335b3..2445578b1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -367,10 +367,11 @@ else()
#PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT development
#PRIVATE_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT development
RESOURCE DESTINATION ${CMAKE_INSTALL_DATADIR} COMPONENT development
+
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT development
)
if(COIN_BUILD_SHARED_LIBS)
- install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT development NAMELINK_ONLY)
if(MSVC)
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION ${CMAKE_INSTALL_BINDIR} CONFIGURATIONS Debug RelWithDebInfo COMPONENT debug)
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment