summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorNaren Manimohan <narendhar15@gmail.com>2019-03-21 16:00:04 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-21 16:57:40 (GMT)
commit0404efe786b1e2c5c28065a53e55ec77217e7b49 (patch)
tree57e5ad638820c1894bf070b51741c454cb6b7584 /Modules/Platform
parent2060a1445c6c6350eb886cfe70f956dccaef798e (diff)
downloadCMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.zip
CMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.tar.gz
CMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.tar.bz2
GHS: Add support for GHS Multi Generator in Linux
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/GHS-MULTI-Initialize.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Platform/GHS-MULTI-Initialize.cmake b/Modules/Platform/GHS-MULTI-Initialize.cmake
index 25004c6..db65d14 100644
--- a/Modules/Platform/GHS-MULTI-Initialize.cmake
+++ b/Modules/Platform/GHS-MULTI-Initialize.cmake
@@ -3,7 +3,11 @@
#Setup Green Hills MULTI specific compilation information
-set(GHS_OS_ROOT "C:/ghs" CACHE PATH "GHS platform OS search root directory")
+if(CMAKE_HOST_UNIX)
+ set(GHS_OS_ROOT "/usr/ghs" CACHE PATH "GHS platform OS search root directory")
+else()
+ set(GHS_OS_ROOT "C:/ghs" CACHE PATH "GHS platform OS search root directory")
+endif()
mark_as_advanced(GHS_OS_ROOT)
set(GHS_OS_DIR "NOTFOUND" CACHE PATH "GHS platform OS directory")