mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 11:19:51 +02:00
fix for console install on win/linux
This commit is contained in:
parent
092025673b
commit
31f5b1d902
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ add_dependencies(${TARGET_NAME} assignment-client domain-server)
|
||||||
|
|
||||||
# set the packaged console folder depending on platform, so we can copy it
|
# set the packaged console folder depending on platform, so we can copy it
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(PACKAGED_CONSOLE_FOLDER "Server\\ Console-darwin-x64")
|
set(PACKAGED_CONSOLE_FOLDER "Server\\ Console-darwin-x64/Server Console.app")
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
set(PACKAGED_CONSOLE_FOLDER "server-console-win32-x64")
|
set(PACKAGED_CONSOLE_FOLDER "server-console-win32-x64")
|
||||||
elseif (UNIX)
|
elseif (UNIX)
|
||||||
|
@ -24,7 +24,7 @@ endif ()
|
||||||
|
|
||||||
# install the packaged Server Console
|
# install the packaged Server Console
|
||||||
install(
|
install(
|
||||||
PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGED_CONSOLE_FOLDER}/Server Console.app"
|
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGED_CONSOLE_FOLDER}"
|
||||||
DESTINATION ${CONSOLE_INSTALL_DIR}
|
DESTINATION ${CONSOLE_INSTALL_DIR}
|
||||||
COMPONENT ${SERVER_COMPONENT}
|
COMPONENT ${SERVER_COMPONENT}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue