parent
3aaeea7ce8
commit
31d44f0280
|
@ -226,7 +226,7 @@ CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
|
||||||
include(TestLargeFiles)
|
include(TestLargeFiles)
|
||||||
OPJ_TEST_LARGE_FILES(OPJ_HAVE_LARGEFILES)
|
OPJ_TEST_LARGE_FILES(OPJ_HAVE_LARGEFILES)
|
||||||
|
|
||||||
# Allocating Aligned Memory Blocks
|
# Allocating Aligned Memory Blocks
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
check_include_files(malloc.h OPJ_HAVE_MALLOC_H)
|
check_include_files(malloc.h OPJ_HAVE_MALLOC_H)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
|
@ -249,6 +249,7 @@ if(BUILD_JPIP_SERVER)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(src/lib)
|
add_subdirectory(src/lib)
|
||||||
|
option(BUILD_LUTS_GENERATOR "Build utility to generate t1_luts.h" OFF)
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build Applications
|
# Build Applications
|
||||||
|
|
|
@ -118,11 +118,13 @@ install(
|
||||||
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3)
|
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# internal utilities to generate t1_luts.h (part of the jp2 lib)
|
if(BUILD_LUTS_GENERATOR)
|
||||||
|
# internal utility to generate t1_luts.h (part of the jp2 lib)
|
||||||
# no need to install:
|
# no need to install:
|
||||||
add_executable(t1_generate_luts t1_generate_luts.c)
|
add_executable(t1_generate_luts t1_generate_luts.c)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_link_libraries(t1_generate_luts m)
|
target_link_libraries(t1_generate_luts m)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Experimental option; let's how cppcheck performs
|
# Experimental option; let's how cppcheck performs
|
||||||
|
|
Loading…
Reference in New Issue