blob: a6ef5d4ad92cf618f5666a1aa80f555937c1334a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# -*- cmake -*-
include(Prebuilt)
include(Linking)
include_guard()
add_library( ll::jpeglib INTERFACE IMPORTED )
use_prebuilt_binary(jpeglib)
if (LINUX)
target_link_libraries( ll::jpeglib INTERFACE jpeg)
elseif (DARWIN)
target_link_libraries( ll::jpeglib INTERFACE jpeg)
elseif (WINDOWS)
target_link_libraries( ll::jpeglib INTERFACE jpeglib)
endif (LINUX)
target_include_directories( ll::jpeglib SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include)
|