windows: install libcsync.dll to bin/

This commit is contained in:
Dominik Schmidt 2012-02-21 17:43:30 +01:00 committed by Andreas Schneider
parent 94006d0171
commit 00c47f62c4
2 changed files with 9 additions and 2 deletions

View file

@ -24,10 +24,13 @@ set(CMAKE_MODULE_PATH
include(DefineCMakeDefaults)
include(DefinePlatformDefaults)
include(DefineCompilerFlags)
include(DefineInstallationPaths)
include(DefineOptions.cmake)
include(CPackConfig.cmake)
include(DefineInstallationPaths)
# install .dlls to bin/
set(BIN_INSTALL_DIR "bin" CACHE PATH "-")
# disallow in-source build
include(MacroEnsureOutOfSourceBuild)
macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")

View file

@ -86,8 +86,12 @@ set_target_properties(
INSTALL(
TARGETS
${CSYNC_LIBRARY}
DESTINATION
LIBRARY DESTINATION
${LIB_INSTALL_DIR}
ARCHIVE DESTINATION
${LIB_INSTALL_DIR}
RUNTIME DESTINATION
${BIN_INSTALL_DIR}
)
INSTALL(