forked from AcademySoftwareFoundation/rawtoaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.cmake
25 lines (21 loc) · 823 Bytes
/
configure.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Until we get some of these modules into the upstream packages, put them here
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_INSTALL_PREFIX}/share/CMake")
find_package ( AcesContainer CONFIG REQUIRED )
find_package ( Eigen3 CONFIG REQUIRED )
find_package ( Imath CONFIG REQUIRED )
find_package ( Ceres REQUIRED )
find_package ( Boost REQUIRED
COMPONENTS
system
filesystem
unit_test_framework
)
find_package (libraw CONFIG QUIET )
if (libraw_FOUND )
message("STATUS LibRaw config found")
set ( LIBRAW_CONFIG_FOUND TRUE )
else ()
message("WARNING LibRaw config not found, trying to find a module.")
find_package(libraw MODULE REQUIRED)
endif ()