summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/BasicConfiguration.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-07-03 09:36:36 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-03 16:46:59 (GMT)
commit38ffcedd26af077cbfb0e0c2c96c5018df23849b (patch)
tree1983a43fac570243f87745711e13526278702167 /Tests/UseSWIG/BasicConfiguration.cmake
parent51e7d4150756a01d51da38acfd0a469b138e1fde (diff)
downloadCMake-38ffcedd26af077cbfb0e0c2c96c5018df23849b.zip
CMake-38ffcedd26af077cbfb0e0c2c96c5018df23849b.tar.gz
CMake-38ffcedd26af077cbfb0e0c2c96c5018df23849b.tar.bz2
UseSWIG: reintroduce legacy target name management
Fixes: #18140
Diffstat (limited to 'Tests/UseSWIG/BasicConfiguration.cmake')
-rw-r--r--Tests/UseSWIG/BasicConfiguration.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/UseSWIG/BasicConfiguration.cmake b/Tests/UseSWIG/BasicConfiguration.cmake
index fd3ac40..ad34d39 100644
--- a/Tests/UseSWIG/BasicConfiguration.cmake
+++ b/Tests/UseSWIG/BasicConfiguration.cmake
@@ -58,6 +58,7 @@ if(${language} MATCHES lua)
set(SWIG_LANG_LIBRARIES ${LUA_LIBRARIES})
endif()
+set(UseSWIG_TARGET_NAME_PREFERENCE STANDARD)
unset(CMAKE_SWIG_FLAGS)
set (CMAKE_INCLUDE_CURRENT_DIR ON)