1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Stephen Sinclair <radarsat1@gmail.com>
Date: Thu, 5 Jan 2023 18:58:00 +0000
Subject: Remove -py3 argument to swig.
This option is no longer supported and throws an error.
---
diff --git a/wrap/CMakeLists.txt b/wrap/CMakeLists.txt
index fd6865e..39819b4 100644
--- a/wrap/CMakeLists.txt
+++ b/wrap/CMakeLists.txt
@@ -26,8 +26,6 @@ if(WITH_PYTHON_WRAPPER)
list(APPEND CMAKE_SWIG_FLAGS "-D__${SYSTEM_ARCHITECTURE}__")
endif()
- list(APPEND CMAKE_SWIG_FLAGS "-py3")
-
list(REMOVE_DUPLICATES CMAKE_SWIG_FLAGS)
set(CMAKE_SWIG_FLAGS "${CMAKE_SWIG_FLAGS}" CACHE INTERNAL "Swig flags")
|