소스 검색

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 
 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.")
      "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
 # add the flags to the cache based
 # on the initial values computed in the platform/*.cmake files
 # on the initial values computed in the platform/*.cmake files
 # use _INIT variables so that this only happens the first time
 # use _INIT variables so that this only happens the first time