Skip to content

Commit

Permalink
Merge pull request #1515 from robotology/traversaro-patch-4
Browse files Browse the repository at this point in the history
Also set Python_EXECUTABLE CMake option in generated conda recipes
  • Loading branch information
traversaro authored Nov 2, 2023
2 parents 17761e2 + bf595a8 commit 56754b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/cmake/RobotologySuperbuildGenerateCondaRecipes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ macro(generate_metametadata_file)
if("python" IN_LIST ${_cmake_pkg}_CONDA_DEPENDENCIES)
if(WIN32)
string(APPEND metametadata_file_contents " - \"-DPython3_EXECUTABLE:PATH=%PYTHON%\"\n")
string(APPEND metametadata_file_contents " - \"-DPython_EXECUTABLE:PATH=%PYTHON%\"\n")
else()
string(APPEND metametadata_file_contents " - \"-DPython3_EXECUTABLE:PATH=$PYTHON\"\n")
string(APPEND metametadata_file_contents " - \"-DPython_EXECUTABLE:PATH=$PYTHON\"\n")
endif()
endif()
endif()
Expand Down

0 comments on commit 56754b9

Please sign in to comment.