[Cmake-commits] [cmake-commits] king committed Haiku.cmake 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Sep 30 08:31:54 EDT 2009


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv3246/Modules/Platform

Modified Files:
	Haiku.cmake 
Log Message:
Fix default install prefix on Haiku

Since Haiku does not have /usr (and therefore /usr/local), this commit
changes the default install prefix to the equivalent directory of
/boot/common.

See issue #9607.


Index: Haiku.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Haiku.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** Haiku.cmake	29 Jan 2009 16:42:07 -0000	1.3
--- Haiku.cmake	30 Sep 2009 12:31:51 -0000	1.4
***************
*** 20,21 ****
--- 20,26 ----
  LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/develop/headers/3rdparty)
  LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/develop/lib/x86)
+ 
+ IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+   SET(CMAKE_INSTALL_PREFIX "/boot/common" CACHE PATH
+     "Install path prefix, prepended onto install directories." FORCE)
+ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)



More information about the Cmake-commits mailing list