blob: 88a03b97db2598fcc1a02e91fb366991ed08b9c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Usage:
#
# find_package(serial REQUIRED)
# include_directories(${serial_INCLUDE_DIRS})
# target_link_libraries(<target> serial)
if(serial_CONFIG_INCLUDED)
return()
endif()
set(serial_CONFIG_INCLUDED TRUE)
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${SELF_DIR}/serial-targets.cmake)
get_filename_component(serial_INCLUDE_DIRS "${SELF_DIR}/../../../include" ABSOLUTE)
|