mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
CMakeLists.txt: BMS, Added a small explanation about the default CMAKE_INSTALL_PREFIX
This commit is contained in:
parent
895921d8c1
commit
380bade7c0
|
@ -37,7 +37,8 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# RAKE! Where to install the binaries.
|
# RAKE! Where to install the binaries.
|
||||||
if(CMAKE_INSTALL_PREFIX STREQUAL "/usr/local" OR CMAKE_INSTALL_PREFIX STREQUAL "") # Only works for linux ATM.
|
if(CMAKE_INSTALL_PREFIX STREQUAL "/usr/local" OR CMAKE_INSTALL_PREFIX STREQUAL "") # Only works for linux since I don't
|
||||||
|
# know what default is for windows/macos/freebsd.
|
||||||
set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../") # set install path to project root directory since
|
set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../") # set install path to project root directory since
|
||||||
# since one wasn't set during config
|
# since one wasn't set during config
|
||||||
set(LOCAL_INSTALL TRUE)
|
set(LOCAL_INSTALL TRUE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user