diff options
author | Brad King <brad.king@kitware.com> | 2016-04-18 12:57:29 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-04-18 12:57:29 (GMT) |
commit | f5c8a46808dcf55652fe6bb13fca70bd241d5d46 (patch) | |
tree | 9c53bb3b43a5626d512b5ae1bb563dcc7fc21d49 /Source/cmState.cxx | |
parent | 0f6a8f7a46f91be249199b356f0cb9b2b508f6b0 (diff) | |
parent | 5dc6cfd6ea304c6eb49e7f4555d6d9778854929b (diff) | |
download | CMake-f5c8a46808dcf55652fe6bb13fca70bd241d5d46.zip CMake-f5c8a46808dcf55652fe6bb13fca70bd241d5d46.tar.gz CMake-f5c8a46808dcf55652fe6bb13fca70bd241d5d46.tar.bz2 |
Merge topic 'cmake-host-solaris'
5dc6cfd6 Solaris: Add a CMAKE_HOST_SOLARIS variable (#16061)
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index be8e418..7670c10 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -1425,6 +1425,9 @@ void cmState::Snapshot::SetDefaultDefinitions() this->SetDefinition("APPLE", "1"); this->SetDefinition("CMAKE_HOST_APPLE", "1"); #endif + #if defined(__sun__) + this->SetDefinition("CMAKE_HOST_SOLARIS", "1"); + #endif char temp[1024]; sprintf(temp, "%d", cmVersion::GetMinorVersion()); |