We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9189a commit 1750629Copy full SHA for 1750629
src/CMakeLists.txt
@@ -360,8 +360,7 @@ if (TARGET RESVG::resvg)
360
#include_directories(${RESVG_INCLUDE_DIRS})
361
target_link_libraries(openshot PUBLIC RESVG::resvg)
362
363
- # define a global var (used in the C++)
364
- add_definitions( -DUSE_RESVG=1 )
+ target_compile_definitions(openshot PUBLIC "-DUSE_RESVG=1")
365
set(CMAKE_SWIG_FLAGS "-DUSE_RESVG=1")
366
endif()
367
0 commit comments