aboutsummaryrefslogtreecommitdiffstats
path: root/XCompile.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-13 01:31:17 -0700
committerChris Robinson <[email protected]>2011-07-13 01:31:17 -0700
commite1e47c6e437b58a07cc447cf212dd6ec61fdfbc0 (patch)
treeabd19c9e2da45000bffbfdc7330f1551d46d8628 /XCompile.txt
parent2bb3d31d5c266c572863824e7c2aea8a240cfcba (diff)
Fix CMAKE_FIND_ROOT_PATH in XCompile.txt
Diffstat (limited to 'XCompile.txt')
-rw-r--r--XCompile.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/XCompile.txt b/XCompile.txt
index 4403c735..035f1e21 100644
--- a/XCompile.txt
+++ b/XCompile.txt
@@ -11,11 +11,11 @@ SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_C_COMPILER "${HOST}-gcc")
SET(CMAKE_CXX_COMPILER "${HOST}-g++")
-# here is where stuff gets installed to
-SET(CMAKE_INSTALL_PREFIX "/usr/${HOST}/usr" CACHE STRING "Install path prefix, prepended onto install directories." FORCE)
-
# here is the target environment located
-SET(CMAKE_FIND_ROOT_PATH "/usr/${HOST}/usr")
+SET(CMAKE_FIND_ROOT_PATH "/usr/${HOST}")
+
+# here is where stuff gets installed to
+SET(CMAKE_INSTALL_PREFIX "${CMAKE_FIND_ROOT_PATH}/usr" CACHE STRING "Install path prefix, prepended onto install directories." FORCE)
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search