merge with dev

This commit is contained in:
Desmis 2020-02-06 10:58:01 +01:00
commit d563b06c3a
3 changed files with 19 additions and 7 deletions

View File

@ -12,6 +12,11 @@ include_directories(${EXTRA_INCDIR}
${LENSFUN_INCLUDE_DIRS} ${LENSFUN_INCLUDE_DIRS}
${RSVG_INCLUDE_DIRS} ${RSVG_INCLUDE_DIRS}
) )
if(NOT WITH_SYSTEM_KLT)
include_directories("${CMAKE_SOURCE_DIR}/rtengine/klt")
else()
include_directories(${KLT_INCLUDE_DIRS})
endif()
link_directories("${PROJECT_SOURCE_DIR}/rtexif" link_directories("${PROJECT_SOURCE_DIR}/rtexif"
${EXPAT_LIBRARY_DIRS} ${EXPAT_LIBRARY_DIRS}
@ -187,6 +192,7 @@ target_link_libraries(rtengine rtexif
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
${LENSFUN_LIBRARIES} ${LENSFUN_LIBRARIES}
${RSVG_LIBRARIES} ${RSVG_LIBRARIES}
${KLT_LIBRARIES}
) )
install(FILES ${CAMCONSTSFILE} DESTINATION "${DATADIR}" PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ) install(FILES ${CAMCONSTSFILE} DESTINATION "${DATADIR}" PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)

View File

@ -5,8 +5,8 @@ locations (before and after tracking) to text files and to PPM files,
and prints the features to the screen. and prints the features to the screen.
**********************************************************************/ **********************************************************************/
#include "klt/pnmio.h" #include <pnmio.h>
#include "klt/klt.h" #include <klt.h>
#include <cmath> #include <cmath>
#include <cstring> #include <cstring>

View File

@ -18,6 +18,7 @@
*/ */
// Code adapted from ART // Code adapted from ART
// https://bitbucket.org/agriggio/art/
/* /*
* *
* This file is part of ART. * This file is part of ART.
@ -37,11 +38,16 @@
*/ */
// Code adapted from libraw // Code adapted from libraw
/* -*- C++ -*- // https://github.com/LibRaw/LibRaw/
* Copyright 2019 LibRaw LLC (info@libraw.org) /*
* File: libraw_crxdec.cpp
* Copyright (C) 2018-2019 Alexey Danilchenko
* Copyright (C) 2019 Alex Tutubalin, LibRaw LLC
* *
LibRaw is free software; you can redistribute it and/or modify Canon CR3 file decoder
it under the terms of the one of two licenses as you choose:
LibRaw is free software; you can redistribute it and/or modify
it under the terms of the one of two licenses as you choose:
1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
(See file LICENSE.LGPL provided in LibRaw distribution archive for details). (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
@ -49,7 +55,7 @@
2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
(See file LICENSE.CDDL provided in LibRaw distribution archive for details). (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
*/ */
#include <algorithm> #include <algorithm>
#include <cstdint> #include <cstdint>