cmake switch -WITH_BENCHMARK enables BENCHFUN macro for rtengine
This commit is contained in:
@@ -122,6 +122,9 @@ if(LENSFUN_HAS_LOAD_DIRECTORY)
|
||||
set_source_files_properties(rtlensfun.cc PROPERTIES COMPILE_DEFINITIONS RT_LENSFUN_HAS_LOAD_DIRECTORY)
|
||||
endif()
|
||||
|
||||
if(WITH_BENCHMARK)
|
||||
add_definitions(-DBENCHMARK)
|
||||
endif()
|
||||
|
||||
if(NOT WITH_SYSTEM_KLT)
|
||||
set(RTENGINESOURCEFILES ${RTENGINESOURCEFILES}
|
||||
|
Reference in New Issue
Block a user