File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -370,10 +370,19 @@ endif()
370370# Link remaining dependency libraries
371371target_link_libraries (openshot PUBLIC
372372 ${LIBOPENSHOT_AUDIO_LIBRARIES}
373- ${PROFILER}
374- $<$<BOOL :${ImageMagick_FOUND} >:${ImageMagick_LIBRARIES} >
375- $<$<BOOL :${RESVG_FOUND} >:${RESVG_LIBRARIES} >
376- $<$<BOOL :${BLACKMAGIC_FOUND} >:${BLACKMAGIC_LIBRARY_DIR} >)
373+ ${PROFILER} )
374+
375+ if (ImageMagick_FOUND)
376+ target_link_libraries (openshot PUBLIC ${ImageMagick_LIBRARIES} )
377+ endif ()
378+
379+ if (RESVG_FOUND)
380+ target_link_libraries (openshot PUBLIC ${RESVG_LIBRARIES} )
381+ endif ()
382+
383+ if (BLACKMAGIC_FOUND)
384+ target_link_libraries (openshot PUBLIC ${BLACKMAGIC_LIBRARY_DIR} )
385+ endif ()
377386
378387if (WIN32 )
379388 # Required for exception handling on Windows
You can’t perform that action at this time.
0 commit comments