Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and lobis committed Oct 6, 2024
1 parent 42e9e87 commit b922ae6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ find_package(
COMPONENTS Interpreter Development.Module
REQUIRED)

# define geant4 components in a conditional way, "gdml static" if release build, "gdml" otherwise
# define geant4 components in a conditional way, "gdml static" if release build,
# "gdml" otherwise
set(GEANT4_COMPONENTS "gdml")
if (CMAKE_BUILD_TYPE STREQUAL "Release")
set(GEANT4_COMPONENTS "gdml static")
Expand All @@ -32,15 +33,14 @@ find_package(
COMPONENTS ${GEANT4_COMPONENTS}
REQUIRED)


message(STATUS "Using Geant4 ${Geant4_VERSION} from ${Geant4_DIR}")
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)
Expand Down

0 comments on commit b922ae6

Please sign in to comment.