You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ec...@apache.org on 2017/04/18 16:00:33 UTC

geode-native git commit: GEODE-2766: fixed unsupported CMake variable

Repository: geode-native
Updated Branches:
  refs/heads/develop 3e60324f2 -> 81c451155


GEODE-2766: fixed unsupported CMake variable


Project: http://git-wip-us.apache.org/repos/asf/geode-native/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-native/commit/81c45115
Tree: http://git-wip-us.apache.org/repos/asf/geode-native/tree/81c45115
Diff: http://git-wip-us.apache.org/repos/asf/geode-native/diff/81c45115

Branch: refs/heads/develop
Commit: 81c4511552c35c879f644827d29fcc90507234ad
Parents: 3e60324
Author: Ernest Burghardt <eb...@pivotal.io>
Authored: Tue Apr 18 09:00:27 2017 -0700
Committer: Ernest Burghardt <eb...@pivotal.io>
Committed: Tue Apr 18 09:00:27 2017 -0700

----------------------------------------------------------------------
 src/dependencies/ACE/CMakeLists.txt     | 2 +-
 src/dependencies/openssl/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-native/blob/81c45115/src/dependencies/ACE/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/dependencies/ACE/CMakeLists.txt b/src/dependencies/ACE/CMakeLists.txt
index 7ffae65..9076d46 100644
--- a/src/dependencies/ACE/CMakeLists.txt
+++ b/src/dependencies/ACE/CMakeLists.txt
@@ -136,7 +136,7 @@ if (${WIN32})
   set(CMAKE_STATIC_LIBRARY_SUFFIX s$<${MSVC}:$<$<CONFIG:Debug>:d>>.lib)
 endif()
 
-if ($(CMAKE_HOST_SOLARIS))
+if ("SunOS" STREQUAL ${CMAKE_SYSTEM_NAME})
 set( PATCH_FILE ${CMAKE_CURRENT_SOURCE_DIR}/patches )
 ExternalProject_Add_Step( ${${PROJECT_NAME}_EXTERN} patches
     ALWAYS 0

http://git-wip-us.apache.org/repos/asf/geode-native/blob/81c45115/src/dependencies/openssl/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/dependencies/openssl/CMakeLists.txt b/src/dependencies/openssl/CMakeLists.txt
index 4d22715..1257c2c 100644
--- a/src/dependencies/openssl/CMakeLists.txt
+++ b/src/dependencies/openssl/CMakeLists.txt
@@ -100,7 +100,7 @@ else()
   set( CMAKE_LINK_LIBRARY_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
 endif()
 
-if ($(CMAKE_HOST_SOLARIS))
+if ("SunOS" STREQUAL ${CMAKE_SYSTEM_NAME})
 ExternalProject_Add_Step( ${${PROJECT_NAME}_EXTERN} patches
     BYPRODUCTS ${${PROJECT_NAME}_SOURCE_DIR}/Configure
     ALWAYS 0