Commit 0ec452c1 authored by Alexander Shishkov's avatar Alexander Shishkov

turned off Python support for Windows in Debug mode

parent 78dcb428
......@@ -561,6 +561,12 @@ endif()
set(BUILD_NEW_PYTHON_SUPPORT ON CACHE BOOL "Build with Python support")
if (WIN32)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(BUILD_NEW_PYTHON_SUPPORT OFF)
endif()
endif()
if(BUILD_NEW_PYTHON_SUPPORT)
find_package(PythonInterp)
find_package(PythonLibs)
......
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