Skip to content

Commit

Permalink
Added python dynamic dep for lib builds
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Dec 17, 2020
1 parent 3c76935 commit 0688e0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/base/TTKBaseConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ if (@TTK_ENABLE_ZLIB@ AND NOT @TTK_ENABLE_SHARED_BASE_LIBRARIES@)
find_dependency(ZLIB REQUIRED)
endif()

if (@TTK_ENABLE_SCIKIT_LEARN@ AND NOT @TTK_ENABLE_SHARED_BASE_LIBRARIES@)
find_package(Python3 COMPONENTS NumPy)
endif()

# Include the actual targets for TTK Base
include("${CMAKE_CURRENT_LIST_DIR}/TTKBaseTargets.cmake")

0 comments on commit 0688e0e

Please sign in to comment.