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 <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd committed Jul 21, 2019
1 parent 9aa52c8 commit 5b4b23d
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 5b4b23d

Please sign in to comment.