Skip to content

Commit 8f4b5ae

Browse files
committed
Merge branch 'irt-cherenkov-particlr-id-algorithms-logger' of github.com:eic/EICrecon into irt-cherenkov-particlr-id-algorithms-logger
2 parents df3cf9b + 9998983 commit 8f4b5ae

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cmake/jana_plugin.cmake

+6-4
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,15 @@ macro(plugin_add_algorithms _name)
242242

243243
if(${_name}_WITH_LIBRARY)
244244
target_compile_definitions(
245-
${PLUGIN_NAME}_library PRIVATE "algorithms_VERSION_MAJOR=${algorithms_VERSION_MAJOR}"
246-
"algorithms_VERSION_MINOR=${algorithms_VERSION_MINOR}")
245+
${PLUGIN_NAME}_library
246+
PRIVATE "algorithms_VERSION_MAJOR=${algorithms_VERSION_MAJOR}"
247+
"algorithms_VERSION_MINOR=${algorithms_VERSION_MINOR}")
247248
endif()
248249
if(${_name}_WITH_PLUGIN)
249250
target_compile_definitions(
250-
${PLUGIN_NAME}_plugin PRIVATE "algorithms_VERSION_MAJOR=${algorithms_VERSION_MAJOR}"
251-
"algorithms_VERSION_MINOR=${algorithms_VERSION_MINOR}")
251+
${PLUGIN_NAME}_plugin
252+
PRIVATE "algorithms_VERSION_MAJOR=${algorithms_VERSION_MAJOR}"
253+
"algorithms_VERSION_MINOR=${algorithms_VERSION_MINOR}")
252254
endif()
253255

254256
plugin_link_libraries(${_name} algorithms::algocore)

0 commit comments

Comments
 (0)