Skip to content

Commit

Permalink
CELIX-285: remove obsolete jansson dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetri committed Nov 4, 2015
1 parent a50863d commit 77d49b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions remote_services/discovery_shm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ celix_subproject(RSA_DISCOVERY_SHM "Option to enable building the Discovery (SHM
if (RSA_DISCOVERY_SHM)
find_package(CURL REQUIRED)
find_package(LibXml2 REQUIRED)
find_package(Jansson REQUIRED)

include_directories("${CURL_INCLUDE_DIR}")
include_directories("${JANSSON_INCLUDE_DIR}")
include_directories("${LIBXML2_INCLUDE_DIR}")
include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
include_directories("${PROJECT_SOURCE_DIR}/remote_services/utils/private/include")
Expand All @@ -35,6 +33,7 @@ find_package(CURL REQUIRED)
include_directories("private/include")

SET_HEADER(BUNDLE_SYMBOLICNAME "apache_celix_rsa_discovery_shm")
SET(BUNDLE_VERSION "0.0.1")
SET_HEADERS("Bundle-Name: Apache Celix RSA Discovery SHM")

bundle(discovery_shm SOURCES
Expand All @@ -54,6 +53,6 @@ find_package(CURL REQUIRED)

install_bundle(discovery_shm)

target_link_libraries(discovery_shm celix_framework ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES} ${JANSSON_LIBRARIES})
target_link_libraries(discovery_shm celix_framework ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES})

endif (RSA_DISCOVERY_SHM)

0 comments on commit 77d49b4

Please sign in to comment.