early-access version 2853
This commit is contained in:
23
externals/vcpkg/ports/jbig2dec/CMakeLists.txt
vendored
Executable file
23
externals/vcpkg/ports/jbig2dec/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
project(jbig2dec C)
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
|
||||
file(GLOB SOURCES jbig2*.c)
|
||||
list(REMOVE_ITEM SOURCES
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2dec.c"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2_image_png.c"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2_image_pbm.c"
|
||||
)
|
||||
|
||||
add_library(jbig2dec ${SOURCES})
|
||||
|
||||
install(TARGETS jbig2dec
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
if(NOT DISABLE_INSTALL_HEADERS)
|
||||
install(FILES jbig2.h DESTINATION include)
|
||||
endif()
|
||||
Reference in New Issue
Block a user