diff --git a/pyproject.toml b/pyproject.toml index 51636bb..1a03623 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a49749d..b9d8920 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,7 +9,8 @@ find_package( nanobind_add_module( _hictkpy - NB_STATIC LTO + NB_STATIC + LTO MODULE hictkpy.cpp hictkpy_file.cpp