Merge pull request #3912 from mattiaverga/klt
Optionally use system KLT library
This commit is contained in:
@@ -112,6 +112,7 @@ option(WITH_MYFILE_MMAP "Build using memory mapped file" ON)
|
||||
option(WITH_LTO "Build with link-time optimizations" OFF)
|
||||
option(WITH_SAN "Build with run-time sanitizer" OFF)
|
||||
option(WITH_PROF "Build with profiling instrumentation" OFF)
|
||||
option(WITH_SYSTEM_KLT "Build using system's KLT libraries." OFF)
|
||||
option(OPTION_OMP "Build with OpenMP support" ON)
|
||||
option(STRICT_MUTEX "True (recommended): MyMutex will behave like POSIX Mutex; False: MyMutex will behave like POSIX RecMutex; Note: forced to ON for Debug builds" ON)
|
||||
option(TRACE_MYRWMUTEX "Trace custom R/W Mutex (Debug builds only); redirecting std::out to a file is strongly recommended!" OFF)
|
||||
@@ -292,6 +293,9 @@ find_package(JPEG REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(TIFF REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
if (WITH_SYSTEM_KLT)
|
||||
find_package (KLT REQUIRED)
|
||||
endif()
|
||||
|
||||
# Check for libcanberra-gtk3 (sound events on Linux):
|
||||
if(UNIX AND(NOT APPLE))
|
||||
|
||||
Reference in New Issue
Block a user