X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-interface%2FCMakeLists.txt;h=8cd797c7d14c462d4778acf8e737934817d6fec9;hb=refs%2Fchanges%2F35%2F11835%2F2;hp=cd5e880d79bc3c9b752294a41c6470517f6fa703;hpb=1b245760ed8a3476a9288e39965a23e1d50b085a;p=apps%2Fagl-service-unicens.git 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 ) - -