Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Dukhovnikov <[email protected]>
  • Loading branch information
antond-weta committed Oct 6, 2024
1 parent 6bed39d commit ff79ac4
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions usd/cmake/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@

# Boost & python.
if (ENABLE_PYTHON_SUPPORT)
# Find python libraries.
if (USE_PYTHON_3)
find_package(PythonInterp 3.0 REQUIRED)
find_package(PythonLibs 3.0 REQUIRED)
else()
find_package(PythonInterp 2.7 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
endif()
# # Find python libraries.
# if (USE_PYTHON_3)
# find_package(PythonInterp 3.0 REQUIRED)
# find_package(PythonLibs 3.0 REQUIRED)
# else()
# find_package(PythonInterp 2.7 REQUIRED)
# find_package(PythonLibs 2.7 REQUIRED)
# endif()

find_package (Python3 COMPONENTS Interpreter Development)

# Pick up boost version variables.
find_package(Boost REQUIRED)
Expand Down

0 comments on commit ff79ac4

Please sign in to comment.