Skip to content

Commit 9e69321

Browse files
committed
Cleans up CMakeLists.txt
1 parent 9ff2959 commit 9e69321

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

-7
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,15 @@ project(
99
VERSION ${SKBUILD_PROJECT_VERSION}
1010
LANGUAGES CXX)
1111

12-
#file(GLOB_RECURSE DIFFCP_BACKEND_LIBRARY_SOURCES "cpp/src/deriv.cpp" "cpp/src/cones.cpp" "cpp/src/lsqr.cpp" "cpp/src/linop.cpp")
13-
#add_library(diffcp_backend STATIC ${DIFFCP_BACKEND_LIBRARY_SOURCES})
14-
#target_include_directories(diffcp_backend PRIVATE cpp/include/)
15-
#target_include_directories(diffcp_backend PRIVATE cpp/external/eigen/)
16-
1712
# Find the module development requirements (requires FindPython from 3.17 or
1813
# scikit-build-core's built-in backport)
1914
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
2015
find_package(pybind11 CONFIG REQUIRED)
21-
#find_package(diffcp_backend CONFIG REQUIRED)
2216

2317
# Add a library using FindPython's tooling (pybind11 also provides a helper like
2418
# this)
2519
python_add_library(_diffcp MODULE cpp/src/wrapper.cpp cpp/src/deriv.cpp cpp/src/cones.cpp cpp/src/lsqr.cpp cpp/src/linop.cpp WITH_SOABI)
2620
target_link_libraries(_diffcp PRIVATE pybind11::headers)
27-
#target_link_libraries(_diffcp PRIVATE diffcp_backend)
2821
target_include_directories(_diffcp PRIVATE cpp/external/eigen/)
2922
target_include_directories(_diffcp PRIVATE cpp/include/)
3023

0 commit comments

Comments
 (0)