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 8e7a0d5 commit 3c4d38c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cmake/jana_plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ macro(plugin_add _name)
OUTPUT_NAME "${_name}"
SUFFIX ".so")
target_compile_definitions(
${PLUGIN_NAME}_plugin PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
${PLUGIN_NAME}_plugin PRIVATE "JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
${PLUGIN_NAME}_plugin PRIVATE "JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")
${PLUGIN_NAME}_plugin
PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}" ${PLUGIN_NAME}_plugin
PRIVATE "JANA_VERSION_MINOR=${JANA_VERSION_MINOR}" ${PLUGIN_NAME}_plugin
PRIVATE "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 All @@ -87,9 +88,10 @@ macro(plugin_add _name)
OUTPUT_NAME "${_name}"
SUFFIX ${suffix})
target_compile_definitions(
${PLUGIN_NAME}_library PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}"
${PLUGIN_NAME}_library PRIVATE "JANA_VERSION_MINOR=${JANA_VERSION_MINOR}"
${PLUGIN_NAME}_library PRIVATE "JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")
${PLUGIN_NAME}_library
PRIVATE "JANA_VERSION_MAJOR=${JANA_VERSION_MAJOR}" ${PLUGIN_NAME}_library
PRIVATE "JANA_VERSION_MINOR=${JANA_VERSION_MINOR}" ${PLUGIN_NAME}_library
PRIVATE "JANA_VERSION_PATCH=${JANA_VERSION_PATCH}")

target_include_directories(
${_name}_library
Expand Down

0 comments on commit 3c4d38c

Please sign in to comment.