Commit 0cb9e928 authored by xuebingbing's avatar xuebingbing

1 新增动态库安装命令

parent 8bd94fbc
...@@ -47,6 +47,7 @@ configure_package_config_file(xxx-config.cmake.in ...@@ -47,6 +47,7 @@ configure_package_config_file(xxx-config.cmake.in
# install version, config and target files # install version, config and target files
install(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} install(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_LOWNAME} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_LOWNAME}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_LOWNAME} INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_LOWNAME}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment