Remove debug messages that sneaked in
parent
2f6444dfba
commit
0d655fab58
|
|
@ -6,7 +6,6 @@ if (WINDOWS)
|
|||
# On Windows, explicitly avoid Cygwin Python.
|
||||
|
||||
if (DEFINED ENV{VIRTUAL_ENV})
|
||||
message(STATUS "Detected VirtualEnv")
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
NAMES python.exe
|
||||
PATHS
|
||||
|
|
@ -14,7 +13,6 @@ if (WINDOWS)
|
|||
NO_DEFAULT_PATH
|
||||
)
|
||||
else()
|
||||
message(STATUS "Trying to find Python")
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
NAMES python.exe
|
||||
NO_DEFAULT_PATH # added so that cmake does not find cygwin python
|
||||
|
|
@ -42,8 +40,6 @@ endif (WINDOWS)
|
|||
|
||||
if (NOT PYTHON_EXECUTABLE)
|
||||
message(FATAL_ERROR "No Python interpreter found")
|
||||
else (NOT PYTHON_EXECUTABLE)
|
||||
message(STATUS "Python executable: ${PYTHON_EXECUTABLE}")
|
||||
endif (NOT PYTHON_EXECUTABLE)
|
||||
|
||||
mark_as_advanced(PYTHON_EXECUTABLE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue