浏览代码

ENH: add back install prefix

Bill Hoffman 23 年之前
父节点
当前提交
a2ec93371b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Modules/CMakeSystemSpecificInformation.cmake

+ 4 - 0
Modules/CMakeSystemSpecificInformation.cmake

@@ -144,6 +144,10 @@ SET(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "If this value is on, makefiles will
 SET (CMAKE_BUILD_TYPE "" CACHE STRING 
      "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
 
+
+SET (CMAKE_INSTALL_PREFIX    /usr/local CACHE PATH 
+     "Install path prefix, prepended onto install directories.")
+
 # add the flags to the cache based
 # on the initial values computed in the platform/*.cmake files
 # use _INIT variables so that this only happens the first time