summaryrefslogtreecommitdiff
path: root/mk/cmake-Modules
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-12-12 01:00:38 +0000
committermarkd <markd@pkgsrc.org>2007-12-12 01:00:38 +0000
commitec09af76f04aba9128001e761e195a4fb53e7d1b (patch)
tree4905d075ccb909845351ec3ab71f9410106ea29f /mk/cmake-Modules
parent27a1a5eca55b6c28de42203bde64703535aa5e1f (diff)
downloadpkgsrc-ec09af76f04aba9128001e761e195a4fb53e7d1b.tar.gz
Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it in
the configure stage of a build (by setting USE_CMAKE=yes).
Diffstat (limited to 'mk/cmake-Modules')
-rw-r--r--mk/cmake-Modules/Platform/UnixPaths.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/mk/cmake-Modules/Platform/UnixPaths.cmake b/mk/cmake-Modules/Platform/UnixPaths.cmake
new file mode 100644
index 00000000000..aa0541b55df
--- /dev/null
+++ b/mk/cmake-Modules/Platform/UnixPaths.cmake
@@ -0,0 +1,14 @@
+SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
+ # Standard
+ $ENV{BUILDLINK_DIR}/include /include /usr/include
+
+ )
+
+SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
+ # Standard
+ $ENV{BUILDLINK_DIR}/lib /lib /usr/lib
+ )
+
+SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
+ /bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
+ )