ports/games/fifengine/patches/patch-CMakeLists_txt

18 lines
917 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
From d14f232f4cd9a00b05d6872957070e8c020f515d Mon Sep 17 00:00:00 2001
From: Thomas Kowaliczek-Schmer <linuxdonald@posteo.de>
Date: Wed, 22 May 2019 16:04:43 +0200
Subject: [PATCH] removed flags that are not supported with swig 4.0
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -897,7 +897,7 @@ if(build-python)
find_package(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
include_directories(${PYTHON_INCLUDE_PATH})
- set(CMAKE_SWIG_FLAGS -modern -fastdispatch -dirvtable -nosafecstrings -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone -keyword -w511 -w473 -w404 -w314)
+ set(CMAKE_SWIG_FLAGS -modern -fastdispatch -dirvtable -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -keyword -w511 -w473 -w404 -w314)
set_source_files_properties("${PROJECT_BINARY_DIR}/fife.i" PROPERTIES CPLUSPLUS ON)
set(FIFE_SOURCES ${FIFE_CORE_SRC})