UseSWIG: add policy to manage target naming strategy.

This commit is contained in:
Marc Chevrier
2018-07-23 10:38:08 +02:00
parent 3ab6f056dc
commit a3a0c3aa71
25 changed files with 107 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.1...3.13)
project(TestMultiplePython CXX)
@@ -17,7 +17,6 @@ else()
set (PS ":")
endif()
set(UseSWIG_TARGET_NAME_PREFERENCE STANDARD)
unset(CMAKE_SWIG_FLAGS)
set_property(SOURCE "../example.i" PROPERTY CPLUSPLUS ON)