Skip to content

Commit

Permalink
possibly fix CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Oct 6, 2024
1 parent d4dcc56 commit 42e9e87
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ message(STATUS "Using Python ${Python_VERSION} from ${Python_EXECUTABLE}")
include(FetchContent)

FetchContent_Declare(
awkward-headers
URL https://github.com/scikit-hep/awkward/releases/download/${AWKWARD_VERSION}/header-only.zip
awkward-headers
URL https://github.com/scikit-hep/awkward/releases/download/${AWKWARD_VERSION}/header-only.zip
)
FetchContent_GetProperties(awkward-headers)
if (NOT awkward-headers_POPULATED)
FetchContent_MakeAvailable(awkward-headers)
add_subdirectory(${awkward-headers_SOURCE_DIR}
${awkward-headers_BINARY_DIR} EXCLUDE_FROM_ALL)
endif ()

FetchContent_Declare(
Expand All @@ -57,8 +55,6 @@ FetchContent_Declare(
FetchContent_GetProperties(pybind11)
if (NOT pybind11_POPULATED)
FetchContent_MakeAvailable(pybind11)
add_subdirectory(${pybind11_SOURCE_DIR} ${pybind11_BINARY_DIR}
EXCLUDE_FROM_ALL)
endif ()

file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS
Expand Down

0 comments on commit 42e9e87

Please sign in to comment.