Skip to content

Commit

Permalink
Merge pull request #10 from yhuang43/dev
Browse files Browse the repository at this point in the history
prepare for integration into FS
  • Loading branch information
ste93ste authored Feb 18, 2024
2 parents 3f76770 + 58b2eec commit 8013cee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ endif()
# --------------------------------------------------
# external dependencies
# --------------------------------------------------

set(pybind11_DIR $ENV{pybind11_DIR})
if(NOT pybind11_DIR)
set(pydbind11_DIR "pybind11")
endif()

# -------- itk --------
find_package(ITK HINTS ${ITK_DIR} REQUIRED)
Expand All @@ -35,7 +38,8 @@ set(CMAKE_CXX_STANDARD 11)
# --------------------------------------------------

# initialize pybind for python wrapping
add_subdirectory(pybind11)
add_subdirectory(${pybind11_DIR} pybind11)
message(STATUS "ITK_DIR=${ITK_DIR} pybind11_DIR=${pybind11_DIR}")


# --------------------------------------------------
Expand Down

0 comments on commit 8013cee

Please sign in to comment.