mirror of
https://github.com/mangosone/server
synced 2026-08-18 22:26:15 -04:00
[Build] Fix build paths in prefix blank
This commit is contained in:
parent
adbe4881cc
commit
e5779744f6
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ endif()
|
|||
# =============================================================================
|
||||
include(GNUInstallDirs)
|
||||
|
||||
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}_install CACHE PATH "Default install directory" FORCE)
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
set(BIN_DIR "${CMAKE_INSTALL_FULL_BINDIR}")
|
||||
set(CONF_INSTALL_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue