mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
windows: install libcsync.dll to bin/
This commit is contained in:
parent
94006d0171
commit
00c47f62c4
2 changed files with 9 additions and 2 deletions
|
@ -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.")
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue