diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-10-05 01:34:33 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-10-12 13:06:17 +0200 |
commit | 81e5dad8294f20c3cb69383d0a6e8b04c3579094 (patch) | |
tree | 30696d9b4bf681ec7e02ca3667ddd6f8a20376d4 /ucs2-interface | |
parent | 81124d50004ee8c0a141771c4b59a79b1a9ec4f1 (diff) |
External mXML project library inclusion
Change-Id: I7ed0a21f3aa79cc007ff224eec66a048f53ba98f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ucs2-interface')
-rw-r--r-- | ucs2-interface/CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ucs2-interface/CMakeLists.txt b/ucs2-interface/CMakeLists.txt index cd5e880..8cd797c 100644 --- a/ucs2-interface/CMakeLists.txt +++ b/ucs2-interface/CMakeLists.txt @@ -20,18 +20,17 @@ PROJECT_TARGET_ADD(ucs2-inter) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNDEBUG") - # Define targets + # Define targets ADD_LIBRARY(ucs2-inter STATIC ucs_lib_interf.c ucs-xml/UcsXml.c ucs-xml/UcsXml_Private.c) # Library properties SET_TARGET_PROPERTIES(ucs2-inter PROPERTIES OUTPUT_NAME ucs2interface) - + # Depends on Unicens2 lib - TARGET_LINK_LIBRARIES(ucs2-inter ucs2-lib) + TARGET_LINK_LIBRARIES(ucs2-inter ucs2-lib mxml) # Define includes - TARGET_INCLUDE_DIRECTORIES(ucs2-inter + TARGET_INCLUDE_DIRECTORIES(ucs2-inter PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} + INTERFACE mxml ) - - |