diff options
author | Brad King <brad.king@kitware.com> | 2023-06-16 11:50:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-16 11:50:51 (GMT) |
commit | 387fc61be4310f107d864a190c8e8e18fb509e4b (patch) | |
tree | 8ba6687480afbc2d6ddfe890fe2d7bd606315eb0 /Tests/UseSWIG/MultipleFiles/CMakeLists.txt | |
parent | 4645be97b324e9e75db939140b087171becd0939 (diff) | |
parent | 711d1da1255a028947d1117852caa8f33604bd81 (diff) | |
download | CMake-387fc61be4310f107d864a190c8e8e18fb509e4b.zip CMake-387fc61be4310f107d864a190c8e8e18fb509e4b.tar.gz CMake-387fc61be4310f107d864a190c8e8e18fb509e4b.tar.bz2 |
Merge topic 'CMake_TEST_FindPython2-3'
711d1da125 FindPython: add capability to select python version for the tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8565
Diffstat (limited to 'Tests/UseSWIG/MultipleFiles/CMakeLists.txt')
-rw-r--r-- | Tests/UseSWIG/MultipleFiles/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/UseSWIG/MultipleFiles/CMakeLists.txt b/Tests/UseSWIG/MultipleFiles/CMakeLists.txt index bf3d946..36734f9 100644 --- a/Tests/UseSWIG/MultipleFiles/CMakeLists.txt +++ b/Tests/UseSWIG/MultipleFiles/CMakeLists.txt @@ -11,7 +11,7 @@ unset(SWIG_LANG_DEFINITIONS) unset(SWIG_LANG_OPTIONS) unset(SWIG_LANG_LIBRARIES) -find_package(Python3 REQUIRED COMPONENTS Development) +find_package(Python REQUIRED COMPONENTS Development) set_property(SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/add.i" PROPERTY CPLUSPLUS ON) set_property(SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/sub.i" PROPERTY CPLUSPLUS ON) @@ -27,4 +27,4 @@ swig_add_library(example "${CMAKE_CURRENT_SOURCE_DIR}/add.cxx" "${CMAKE_CURRENT_SOURCE_DIR}/sub.cxx") target_include_directories(example PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") -target_link_libraries(example PRIVATE Python3::Module) +target_link_libraries(example PRIVATE Python::Module) |