Merge pull request #241 from GamePad64/master

Fixed install path for Windows in CMake
pull/253/head
Jeffrey Walton 2016-08-19 23:09:52 -04:00 committed by GitHub
commit 5f4b1d4ca9
1 changed files with 8 additions and 1 deletions

View File

@ -286,7 +286,14 @@ set(export_name "cryptopp-targets")
# Runtime package
if (BUILD_SHARED)
install(TARGETS cryptopp-shared EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(
TARGETS cryptopp-shared
EXPORT ${export_name}
DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()
# Development package