Commit f22de335 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'python-deployment-target'

771151ea

 python3: handle an unset deployment target
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !389
parents d9827ec4 771151ea
......@@ -5,7 +5,7 @@ else ()
endif ()
set(python3_environment)
if (APPLE)
if (APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET)
list(APPEND python3_environment
MACOSX_DEPLOYMENT_TARGET "${CMAKE_OSX_DEPLOYMENT_TARGET}")
endif ()
......
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