Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 20, 2024
1 parent 07d5704 commit 81b0564
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions cmake/jana_plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ macro(plugin_add _name)
SUFFIX ".so")
target_compile_definitions(
${PLUGIN_NAME}_plugin
PRIVATE
"JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
"JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
"JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")
PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
"JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
"JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")
target_link_libraries(${_name}_plugin ${JANA_LIB} podio::podio
podio::podioRootIO spdlog::spdlog fmt::fmt)
target_link_libraries(${_name}_plugin Microsoft.GSL::GSL)
Expand Down Expand Up @@ -90,10 +89,9 @@ macro(plugin_add _name)
SUFFIX ${suffix})
target_compile_definitions(
${PLUGIN_NAME}_library
PRIVATE
"JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
"JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
"JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")
PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
"JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
"JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")

target_include_directories(
${_name}_library
Expand Down

0 comments on commit 81b0564

Please sign in to comment.