Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
don't use separate macos cmake.txt
Browse files Browse the repository at this point in the history
ping #263
  • Loading branch information
andy5995 committed Oct 17, 2018
1 parent dddf69b commit a7c3439
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ IF(WANT_STATIC_LIBS AND "${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
ENDIF()

## Compiler flags, CPACK configuration and other Apple specific code.
IF(APPLE)
include(${PROJECT_SOURCE_DIR}/mk/macos/CMakeLists.txt)
ENDIF(APPLE)
# IF(APPLE)
# include(${PROJECT_SOURCE_DIR}/mk/macos/CMakeLists.txt)
# ENDIF(APPLE)

IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
Expand Down
1 change: 1 addition & 0 deletions source/glest_game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ IF(BUILD_ZETAGLEST)
ENDIF()

IF(WANT_USE_OpenSSL)
INCLUDE_DIRECTORIES(/usr/local/opt/openssl)
set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
include(FindOpenSSL)
IF(OPENSSL_FOUND)
Expand Down
1 change: 1 addition & 0 deletions source/shared_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ IF(BUILD_MODEL_VIEWER OR BUILD_MAP_EDITOR OR BUILD_ZETAGLEST)
ENDIF()

IF(WANT_USE_OpenSSL)
INCLUDE_DIRECTORIES(/usr/local/opt/openssl)
set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
include(FindOpenSSL)
IF(OPENSSL_FOUND)
Expand Down

0 comments on commit a7c3439

Please sign in to comment.