aboutsummaryrefslogtreecommitdiff
path: root/cmake/OlmConfig.cmake.in
blob: a7541f7a30169df986905e7e9aebee43275e5229 (plain)
1
2
3
4
5
6
7
8
9
10
11
get_filename_component(Olm_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(CMakeFindDependencyMacro)

list(APPEND CMAKE_MODULE_PATH ${Olm_CMAKE_DIR})
list(REMOVE_AT CMAKE_MODULE_PATH -1)

if(NOT TARGET Olm::olm)
  include("${Olm_CMAKE_DIR}/OlmTargets.cmake")
endif()

set(Olm_LIBRARIES Olm::olm)