UseSWIG: reintroduce legacy target name management

Fixes: #18140
This commit is contained in:
Marc Chevrier
2018-07-03 11:36:36 +02:00
committed by Brad King
parent 51e7d41507
commit 38ffcedd26
5 changed files with 115 additions and 53 deletions

View File

@@ -16,6 +16,7 @@ else()
set (PS ":")
endif()
set(UseSWIG_TARGET_NAME_PREFERENCE STANDARD)
set (UseSWIG_MODULE_VERSION 2)
unset(CMAKE_SWIG_FLAGS)