diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-11-27 14:10:32 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-12-07 17:51:57 (GMT) |
commit | dff28141dcddd90b0bb95740d66b8f698cc8da6a (patch) | |
tree | 0a6a26af46a22a672f7e12a53550b7f691559dcb /Tests/RunCMake/CMakeLists.txt | |
parent | 7b3d4799f8c03162d537e65effd3dd8d56fc3386 (diff) | |
download | CMake-dff28141dcddd90b0bb95740d66b8f698cc8da6a.zip CMake-dff28141dcddd90b0bb95740d66b8f698cc8da6a.tar.gz CMake-dff28141dcddd90b0bb95740d66b8f698cc8da6a.tar.bz2 |
UseSWIG: add management of SWIG option -module
When file property SWIG_MODULE_NAME is specified, provide option -module
to SWIG compiler.
Fixes: #18374
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index b044757..5ff2538 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -159,7 +159,7 @@ add_RunCMake_test(FindBoost) add_RunCMake_test(FindLua) add_RunCMake_test(FindOpenGL) if(CMake_TEST_UseSWIG) - add_RunCMake_test(UseSWIG) + add_RunCMake_test(UseSWIG -DCMake_TEST_FindPython=${CMake_TEST_FindPython}) endif() if(NOT CMAKE_C_COMPILER_ID MATCHES "Watcom") add_RunCMake_test(GenerateExportHeader) |