Commit 775b8f9f authored by Jørgen Lind's avatar Jørgen Lind
Browse files

Merge branch feature/jorgen.lind/python_always_link_with_release with...

Merge branch feature/jorgen.lind/python_always_link_with_release with refs/heads/master into refs/merge-requests/528/train
parents d0aaa725 0bb93545
Pipeline #85325 passed with stages
in 21 minutes and 12 seconds
......@@ -65,6 +65,13 @@ endif()
if (Python3_FOUND)
set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
set(PYTHONINTERP_FOUND ON)
if (WIN32)
get_target_property(Python3_IMPLIB_DEBUG Python3::Module IMPORTED_IMPLIB_DEBUG)
get_target_property(Python3_IMPLIB_RELEASE Python3::Module IMPORTED_IMPLIB_RELEASE)
if (Python3_IMPLIB_DEBUG)
set_target_properties(Python3::Module PROPERTIES IMPORTED_IMPLIB_DEBUG ${Python3_IMPLIB_RELEASE})
endif()
endif()
else()
message("Failed to find Python3 interpreter. Disabling Python build")
set(BUILD_PYTHON_DEFAULT OFF)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment