8b1b17cff8
"This is good, commit." espie@
14 lines
628 B
Plaintext
14 lines
628 B
Plaintext
$OpenBSD: patch-Modules_Platform_Generic_cmake,v 1.1 2010/05/28 20:21:48 dcoppa Exp $
|
|
--- Modules/Platform/Generic.cmake.orig Tue Apr 6 16:45:32 2010
|
|
+++ Modules/Platform/Generic.cmake Mon May 3 11:51:48 2010
|
|
@@ -9,3 +9,9 @@
|
|
|
|
# (embedded) targets without operating system usually don't support shared libraries
|
|
SET_PROPERTY(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
|
|
+
|
|
+# To help the find_xxx() commands, set at least the following so CMAKE_FIND_ROOT_PATH
|
|
+# works at least for some simple cases:
|
|
+SET(CMAKE_SYSTEM_INCLUDE_PATH /include )
|
|
+SET(CMAKE_SYSTEM_LIBRARY_PATH /lib )
|
|
+SET(CMAKE_SYSTEM_PROGRAM_PATH /bin )
|