Skip to content

Commit

Permalink
Print out Python executable found or that will be compiled.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Dec 13, 2024
1 parent 25a3428 commit c76046a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ if(BUILD_PYTHON )
else()
set(Python_EXECUTABLE "$ENV{PYTHONEXE}")
set(Python_VERSION "$ENV{PYTHON_VERSION}")
message(STATUS "Python EXECUTABLE=${Python_EXECUTABLE}")
if (NOT EXISTS "${Python_EXECUTABLE}")
find_package(Python REQUIRED COMPONENTS Interpreter)
if (NOT EXISTS "${Python_EXECUTABLE}")
Expand All @@ -90,6 +89,7 @@ else()
endif()
endif()

message(STATUS "Python EXECUTABLE=${Python_EXECUTABLE}")
set(PYTHON_EXECUTABLE ${Python_EXECUTABLE})


Expand Down

0 comments on commit c76046a

Please sign in to comment.