Commit 3e1ecd58 authored by Gabriel Devillers's avatar Gabriel Devillers
Browse files

On Unix use system Python by default

parent 28ef8806
...@@ -120,6 +120,12 @@ if (WIN32) ...@@ -120,6 +120,12 @@ if (WIN32)
endif() endif()
endif() endif()
if(UNIX AND NOT DEFINED USE_SYSTEM_python)
# it is still possible to pass -DUSE_SYSTEM_python=False to cmake
message(STATUS "Defaulting USE_SYSTEM_python to True (was undefined and we are on UNIX)")
set(USE_SYSTEM_python True CACHE BOOL INTERNAL)
endif()
function (superbuild_add_packaging) function (superbuild_add_packaging)
if (WIN32) if (WIN32)
set(generators set(generators
......
Markdown is supported
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