Skip to content

Commit

Permalink
Merge pull request #29 from paulsengroup/fix/build-system
Browse files Browse the repository at this point in the history
Introduce the HICTKPY_PROJECT_TOP_LEVEL_INCLUDES build knob to disable conan
  • Loading branch information
robomics authored Mar 4, 2024
2 parents 0e4bd56 + cf59fec commit ea6ec7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cmake.build-type = "Release"

[tool.scikit-build.cmake.define]
CMAKE_OSX_DEPLOYMENT_TARGET = "10.15"
CMAKE_PROJECT_TOP_LEVEL_INCLUDES = "cmake/conan_provider.cmake"
CMAKE_PROJECT_TOP_LEVEL_INCLUDES = { env="HICTKPY_PROJECT_TOP_LEVEL_INCLUDES", default="cmake/conan_provider.cmake" }
HICTK_ENABLE_TESTING = "OFF"
HICTK_BUILD_EXAMPLES = "OFF"
HICTK_BUILD_BENCHMARKS = "OFF"
Expand Down
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ find_package(

nanobind_add_module(
_hictkpy
NB_STATIC LTO
NB_STATIC
LTO
MODULE
hictkpy.cpp
hictkpy_file.cpp
Expand Down

0 comments on commit ea6ec7b

Please sign in to comment.