Skip to content

Commit

Permalink
Define USE_RESVG for openshot target
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jan 12, 2020
1 parent 48fc7de commit 63baee1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Expand Up @@ -360,8 +360,7 @@ if (TARGET RESVG::resvg)
#include_directories(${RESVG_INCLUDE_DIRS})
target_link_libraries(openshot PUBLIC RESVG::resvg)

# define a global var (used in the C++)
add_definitions( -DUSE_RESVG=1 )
target_compile_definitions(openshot PUBLIC "-DUSE_RESVG=1")
set(CMAKE_SWIG_FLAGS "-DUSE_RESVG=1")
endif()

Expand Down

0 comments on commit 63baee1

Please sign in to comment.