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

@@ -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)