Skip to content

Commit

Permalink
NumPy lookup logic is only in newer versions of cmake than our minimum
Browse files Browse the repository at this point in the history
We are doing the numpy lookup manually for now

Signed-off-by: Kimball Thurston <[email protected]>
  • Loading branch information
kdt3rd committed Jul 21, 2019
1 parent 55391fe commit 4f2faac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyIlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ find_package(IlmBase ${OPENEXR_VERSION} EXACT REQUIRED CONFIG)
find_package(Python REQUIRED)

# now determine which (or both), and compile for both
find_package(Python2 COMPONENTS Interpreter Development NumPy)
find_package(Python3 COMPONENTS Interpreter Development NumPy)
find_package(Python2 COMPONENTS Interpreter Development)
find_package(Python3 COMPONENTS Interpreter Development)
if(TARGET Python2::Python AND TARGET Python3::Python)
message(NOTICE ": Found Python ${Python2_VERSION} and ${Python3_VERSION}")
elseif(TARGET Python2::Python)
Expand Down

0 comments on commit 4f2faac

Please sign in to comment.