File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -242,13 +242,15 @@ macro(plugin_add_algorithms _name)
242
242
243
243
if (${_name} _WITH_LIBRARY)
244
244
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} " )
247
248
endif ()
248
249
if (${_name} _WITH_PLUGIN)
249
250
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} " )
252
254
endif ()
253
255
254
256
plugin_link_libraries(${_name} algorithms::algocore)
You can’t perform that action at this time.
0 commit comments