fix compilation failure when using lensfun 0.2.x

Fixes #4085
This commit is contained in:
Alberto Griggio
2017-09-16 10:54:00 +02:00
parent 91fd578f49
commit a467246834
4 changed files with 63 additions and 1 deletions

View File

@@ -113,6 +113,11 @@ set(RTENGINESOURCEFILES
rtlensfun.cc
)
if(LENSFUN_HAS_LOAD_DIRECTORY)
set_source_files_properties(rtlensfun.cc PROPERTIES COMPILE_DEFINITIONS RT_LENSFUN_HAS_LOAD_DIRECTORY)
endif()
if(NOT WITH_SYSTEM_KLT)
set(RTENGINESOURCEFILES ${RTENGINESOURCEFILES}
klt/convolve.cc