From 1125a2b40599b6cda09ca71232b1661fbdb2a50b Mon Sep 17 00:00:00 2001 From: filux Date: Mon, 18 Jan 2016 20:59:21 +0100 Subject: [PATCH] added switch for compilation [W]ithout wxWidgets; updated list of deps related with curl --- mk/cmake/Modules/FindFontConfig.cmake | 2 +- mk/linux/build-mg.sh | 23 +++++++++++++------- mk/linux/makedeps_folder.sh | 2 +- mk/macosx/build-mg.sh | 16 ++++++++++---- source/glest_game/CMakeLists.txt | 30 +++++++++++++++------------ source/shared_lib/CMakeLists.txt | 30 +++++++++++++-------------- 6 files changed, 62 insertions(+), 41 deletions(-) diff --git a/mk/cmake/Modules/FindFontConfig.cmake b/mk/cmake/Modules/FindFontConfig.cmake index db05f717d..6d2d612de 100644 --- a/mk/cmake/Modules/FindFontConfig.cmake +++ b/mk/cmake/Modules/FindFontConfig.cmake @@ -10,7 +10,7 @@ FIND_PATH( FONTCONFIG_INCLUDE_DIR NAMES fontconfig/fontconfig.h DOC "Path in which the file fontconfig/fontconfig.h is located." ) MARK_AS_ADVANCED(FONTCONFIG_INCLUDE_DIR) -IF(STATIC_FONTCONFIG) +IF(STATIC_FontConfig) FIND_LIBRARY( FONTCONFIG_LIBRARY NAMES libfontconfig.a fontconfig.a fontconfig DOC "Path to fontconfig library." ) ELSE() diff --git a/mk/linux/build-mg.sh b/mk/linux/build-mg.sh index 01134abe6..867d0a7d4 100755 --- a/mk/linux/build-mg.sh +++ b/mk/linux/build-mg.sh @@ -22,9 +22,10 @@ WANT_STATIC_LIBS="-DWANT_STATIC_LIBS=ON" FORCE_EMBEDDED_LIBS=0 LUA_FORCED_VERSION=0 FORCE_32BIT_CROSS_COMPILE=0 +COMPILATION_WITHOUT=0 BUILD_MEGAGLEST_TESTS="ON" -while getopts "c:defhl:mnx" option; do +while getopts "c:defhl:mnwx" option; do case "${option}" in c) CPU_COUNT=${OPTARG} @@ -44,7 +45,7 @@ while getopts "c:defhl:mnx" option; do ;; h) echo "Usage: $0