Fixed install path for Windows in CMake (for example, for use with MinGW/MSYS environment)

pull/241/head
Alexander Shishenko 2016-08-07 15:54:36 +03:00
parent 90f9d1a9db
commit a4e4e48127
1 changed files with 8 additions and 1 deletions

View File

@ -286,7 +286,14 @@ set(export_name "cryptopp-targets")
# Runtime package # Runtime package
if (BUILD_SHARED) 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() endif()
# Development package # Development package