Core/Buildsystem: Actually follow CONF_DIR path-directive when installing configuration-files on UNIX
Fixes issue #9649
This commit is contained in:
1 parent
bf10860a1c
commit
7afe928f2a
2 files changed
+2
-2
No files matched your search
@@ -98,7 +98,7 @@ endif()
|
||||
|
||||
if( UNIX )
|
||||
install(TARGETS authserver DESTINATION bin)
|
||||
install(FILES authserver.conf.dist DESTINATION etc)
|
||||
install(FILES authserver.conf.dist DESTINATION ${CONF_DIR})
|
||||
elseif( WIN32 )
|
||||
install(TARGETS authserver DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
install(FILES authserver.conf.dist DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
@@ -197,7 +197,7 @@ endif()
|
||||
|
||||
if( UNIX )
|
||||
install(TARGETS worldserver DESTINATION bin)
|
||||
install(FILES worldserver.conf.dist DESTINATION etc)
|
||||
install(FILES worldserver.conf.dist DESTINATION ${CONF_DIR})
|
||||
elseif( WIN32 )
|
||||
install(TARGETS worldserver DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
install(FILES worldserver.conf.dist DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
Reference in new issue
Block a user