commit 26038c32d62037db820d915656096ebd8b79e6b5
parent 471c65878a06ca2b3f8307472448e59469b85f21
Author: Bharatvaj H <bharatvaj@yahoo.com>
Date: Fri, 15 Mar 2019 13:58:10 +0000
parent 471c65878a06ca2b3f8307472448e59469b85f21
Author: Bharatvaj H <bharatvaj@yahoo.com>
Date: Fri, 15 Mar 2019 13:58:10 +0000
xbee CMake script correction
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/3rdparty/xbee/CMakeLists.txt b/3rdparty/xbee/CMakeLists.txt @@ -2,10 +2,12 @@ cmake_minimum_required(VERSION 3.3) project(xbee LANGUAGES C) -target_compile_definitions(xbee PUBLIC POSIX) file(GLOB_RECURSE xbee_HDRS "include/*.h") file(GLOB_RECURSE xbee_SRCS "src/util/*.c" "src/posix/*.c" "src/wpan/*.c" "src/xbee/*.c" "src/zigbee/*.c") + add_library(xbee ${xbee_HDRS} ${xbee_SRCS}) + +target_compile_definitions(xbee PUBLIC POSIX) target_include_directories(xbee PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:include>)
: bharatvaj/forwarder