From 380bade7c0fd814a17e5fcd60815cfb5d28a6ee8 Mon Sep 17 00:00:00 2001 From: Salamanderrake Date: Tue, 19 Apr 2016 04:43:59 -0400 Subject: [PATCH] CMakeLists.txt: BMS, Added a small explanation about the default CMAKE_INSTALL_PREFIX --- Sources/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 118692a..5031d80 100644 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -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)