summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenJPEG.cmake
blob: c4aab2e9e53ee9c41df49ff59df2724498226850 (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- cmake -*-
include(Prebuilt)

include_guard()
add_library( ll::openjpeg INTERFACE IMPORTED )

use_system_binary(openjpeg)
use_prebuilt_binary(openjpeg)

target_link_libraries(ll::openjpeg INTERFACE openjp2 )
target_include_directories( ll::openjpeg SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/openjpeg)