File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ if(RAV1E_LIBRARY)
6363 target_include_directories (rav1e::rav1e INTERFACE ${RAV1E_INCLUDE_DIR} )
6464 if (WIN32 )
6565 target_link_libraries (rav1e::rav1e INTERFACE ntdll userenv ws2_32 bcrypt )
66- elseif (UNIX AND NOT APPLE )
67- target_link_libraries (rav1e::rav1e INTERFACE ${CMAKE_DL_LIBS} ) # for backtrace
6866 endif ()
6967 endif ()
7068endif ()
Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ else()
105105 add_library (rav1e::rav1e STATIC IMPORTED )
106106 add_dependencies (rav1e::rav1e rav1e )
107107 target_link_libraries (rav1e::rav1e INTERFACE "${Rust_CARGO_TARGET_LINK_NATIVE_LIBS} " )
108- if (UNIX AND NOT APPLE )
109- target_link_libraries (rav1e::rav1e INTERFACE ${CMAKE_DL_LIBS} ) # for backtrace
110- endif ()
111108 target_link_options (rav1e::rav1e INTERFACE "${Rust_CARGO_TARGET_LINK_OPTIONS} " )
112109 set_target_properties (rav1e::rav1e PROPERTIES IMPORTED_LOCATION "${RAV1E_LIB_FILENAME} " AVIF_LOCAL ON FOLDER "ext/rav1e" )
113110 target_include_directories (rav1e::rav1e INTERFACE "${RAV1E_INCLUDE_DIR} " )
You can’t perform that action at this time.
0 commit comments