summaryrefslogtreecommitdiff
path: root/tests/projects/swig/python_cpp/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/swig/python_cpp/xmake.lua')
-rw-r--r--tests/projects/swig/python_cpp/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/swig/python_cpp/xmake.lua b/tests/projects/swig/python_cpp/xmake.lua
index f0c322310..1aa612211 100644
--- a/tests/projects/swig/python_cpp/xmake.lua
+++ b/tests/projects/swig/python_cpp/xmake.lua
@@ -2,7 +2,7 @@ add_rules("mode.release", "mode.debug")
add_requires("python 3.x")
target("example")
- add_rules("swig.cpp")
- add_files("src/example.i", {moduletype = "python", scriptdir = "share"})
+ add_rules("swig.cpp", {moduletype = "python"})
+ add_files("src/example.i", {scriptdir = "share"})
add_files("src/example.cpp")
add_packages("python")