浏览代码

added prefix to config

Ken Martin 24 年之前
父节点
当前提交
fdb3d30dca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Templates/CMakeSystemConfig.cmake.in

+ 1 - 0
Templates/CMakeSystemConfig.cmake.in

@@ -2,6 +2,7 @@
 # CMakeLocal.make.in should be in the directory where you run configure
 # in, which need not be the source directory
 #
+SET (CMAKE_INSTALL_PREFIX     @prefix@ CACHE_NO_REPLACE PATH)
 SET (CMAKE_WORDS_BIGENDIAN    @CMAKE_WORDS_BIGENDIAN@ )
 SET (CMAKE_USE_SPROC          @CMAKE_USE_SPROC@ CACHE_NO_REPLACE BOOL)
 SET (CMAKE_USE_PTHREADS       @CMAKE_USE_PTHREADS@ CACHE_NO_REPLACE BOOL)