File: OdilConfig.cmake.in

package info (click to toggle)
odil 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,476 kB
  • sloc: cpp: 55,982; python: 3,947; javascript: 460; xml: 182; makefile: 99; sh: 36
file content (19 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include(CMakeFindDependencyMacro)

set(ICU_ROOT @ICU_ROOT@)

find_dependency(Boost REQUIRED COMPONENTS date_time exception filesystem log)
find_dependency(ICU REQUIRED COMPONENTS uc)

get_filename_component(ODIL_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
list(APPEND CMAKE_MODULE_PATH ${ODIL_CMAKE_DIR})
find_dependency(JsonCpp REQUIRED COMPONENTS JsonCpp)
list(REMOVE_AT CMAKE_MODULE_PATH -1)

if("@WITH_DCMTK@")
    find_dependency(DCMTK REQUIRED)
endif()

if(NOT TARGET Odil::Odil)
    include("${ODIL_CMAKE_DIR}/OdilTargets.cmake")
endif()