diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-07-03 11:36:36 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-03 12:46:59 -0400 |
commit | 38ffcedd26af077cbfb0e0c2c96c5018df23849b (patch) | |
tree | 1983a43fac570243f87745711e13526278702167 /Tests/UseSWIG/MultiplePython | |
parent | 51e7d4150756a01d51da38acfd0a469b138e1fde (diff) | |
download | cmake-38ffcedd26af077cbfb0e0c2c96c5018df23849b.tar.gz |
UseSWIG: reintroduce legacy target name management
Fixes: #18140
Diffstat (limited to 'Tests/UseSWIG/MultiplePython')
-rw-r--r-- | Tests/UseSWIG/MultiplePython/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/UseSWIG/MultiplePython/CMakeLists.txt b/Tests/UseSWIG/MultiplePython/CMakeLists.txt index a5e3eed42c..a1651fbfef 100644 --- a/Tests/UseSWIG/MultiplePython/CMakeLists.txt +++ b/Tests/UseSWIG/MultiplePython/CMakeLists.txt @@ -17,6 +17,7 @@ else() set (PS ":") endif() +set(UseSWIG_TARGET_NAME_PREFERENCE STANDARD) unset(CMAKE_SWIG_FLAGS) set_property(SOURCE "../example.i" PROPERTY CPLUSPLUS ON) |