Skip to content

Commit

Permalink
prepare for integration into FS
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuang43 committed Feb 16, 2024
1 parent 3f76770 commit 58b2eec
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 58b2eec

Please sign in to comment.