CMakeLists.txt: BMS, Added a small explanation about the default CMAKE_INSTALL_PREFIX

This commit is contained in:
Salamanderrake 2016-04-19 04:43:59 -04:00
parent 895921d8c1
commit 380bade7c0

View File

@ -37,7 +37,8 @@ else()
endif()
# 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
# since one wasn't set during config
set(LOCAL_INSTALL TRUE)