Browse Source

win: set CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION to . so the runtime libraries are not placed in bin

Adam 1 year ago
parent
commit
1daaf3b84d
No account linked to committer's email
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      win/CMakeLists.txt

+ 1
- 0
win/CMakeLists.txt View File

@@ -85,6 +85,7 @@ file(MAKE_DIRECTORY ${LOG_PATH})
85 85
 install(DIRECTORY ${LOG_PATH} DESTINATION .)
86 86
 
87 87
 if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
88
+	set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION ".") # place runtime libraries next to InspIRCd binary
88 89
 	include(InstallRequiredSystemLibraries)
89 90
 
90 91
 	set(CPACK_PACKAGE_NAME "InspIRCd IRC Daemon")