Skip to content

Commit a084402

Browse files
author
Clement Champetier
committed
CMake: refactoring variable to check RESAMPLE_LIBRARY
1 parent 57e5775 commit a084402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ find_package(FFmpeg
88

99
# Check if FFmpeg or libav dependency
1010
if(EXISTS "${FFMPEG_INCLUDE_DIR}/libavresample/avresample.h")
11-
add_definitions(-DAV_RESAMPLE_LIBRARY=1)
11+
add_definitions(-DAV_RESAMPLE_LIBRARY)
1212
else()
13-
add_definitions(-DFF_RESAMPLE_LIBRARY=1)
13+
add_definitions(-DFF_RESAMPLE_LIBRARY)
1414
endif()
1515

1616
# Include AvTranscoder and FFmpeg

0 commit comments

Comments
 (0)