add jpeg-turbo.
This commit is contained in:
parent
a865f749be
commit
643a420dd9
@ -33,6 +33,14 @@ set(FFmpeg_ROOT ${Libraries_ROOT}/ffmpeg-6.1.1-full_build-shared)
|
||||
set(FFmpeg_INCLUDE_DIR ${FFmpeg_ROOT}/include)
|
||||
set(FFmpeg_LIB_DIR ${FFmpeg_ROOT}/lib)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(JPEGTURBO_ROOT ${Libraries_ROOT}/libjpeg-turbo-3.0.3_msvc2022_64bit_debug)
|
||||
else()
|
||||
set(JPEGTURBO_ROOT ${Libraries_ROOT}/libjpeg-turbo-3.0.3_msvc2022_64bit_release)
|
||||
endif()
|
||||
set(JPEGTURBO_INCLUDE_DIR ${JPEGTURBO_ROOT}/include)
|
||||
set(JPEGTURBO_LIB_DIR ${JPEGTURBO_ROOT}/lib)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS json)
|
||||
|
||||
execute_process(
|
||||
@ -93,12 +101,12 @@ add_subdirectory(${Projects_ROOT}/Kylin/Encrypt Encrypt)
|
||||
target_include_directories(AntiClipSettings
|
||||
PRIVATE ${FFmpeg_INCLUDE_DIR}
|
||||
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
||||
PRIVATE ${Libraries_ROOT}/libjpeg-turbo64/include
|
||||
PRIVATE ${JPEGTURBO_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
target_link_directories(AntiClipSettings
|
||||
PRIVATE ${FFmpeg_LIB_DIR}
|
||||
PRIVATE ${Libraries_ROOT}/libjpeg-turbo64/lib
|
||||
PRIVATE ${JPEGTURBO_LIB_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(AntiClipSettings
|
||||
|
Loading…
Reference in New Issue
Block a user