2018-06-14 01:28:35 +02:00
|
|
|
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)
|
|
|
|
|
2018-06-16 23:23:49 +02:00
|
|
|
if(NOT TARGET Olm::Olm)
|
2018-06-14 01:28:35 +02:00
|
|
|
include("${Olm_CMAKE_DIR}/OlmTargets.cmake")
|
|
|
|
endif()
|
|
|
|
|
2018-06-16 23:23:49 +02:00
|
|
|
set(Olm_LIBRARIES Olm::Olm)
|