aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2023-02-13 18:55:18 +0000
committerMauro Sardara <msardara@cisco.com>2023-02-14 13:51:15 +0000
commit581b3a2e0f2ad36d5e5e868968bb43c94de3a2a3 (patch)
tree61ad20cd08d005790a43b7db307a2038edc4d6f4 /hicn-light
parentc46b82460987912eb465187892286922aeaedab4 (diff)
fix: package dependency and unused variable
Change-Id: I5dd1b92eeff665bc4e8ad4c1d88f19430bb96a74 (cherry picked from commit da80325f47a9c58aa493441ab54116019811072f) Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-light')
-rw-r--r--hicn-light/CMakeLists.txt13
1 files changed, 4 insertions, 9 deletions
diff --git a/hicn-light/CMakeLists.txt b/hicn-light/CMakeLists.txt
index 337e22b7f..e82100a91 100644
--- a/hicn-light/CMakeLists.txt
+++ b/hicn-light/CMakeLists.txt
@@ -23,6 +23,10 @@ project(hicn-light)
##############################################################
set(LIBHICN_LIGHT hicn-light)
set(LIBHICN_LIGHT_STATIC ${LIBHICN_LIGHT}.static)
+set(HICN_LIGHT hicn-light CACHE INTERNAL "" FORCE)
+set(HICN_LIGHT_CONTROL ${HICN_LIGHT}-control CACHE INTERNAL "" FORCE)
+set(HICN_LIGHT_SHELL ${HICN_LIGHT}-shell CACHE INTERNAL "" FORCE)
+set(HICN_LIGHT_DAEMON ${HICN_LIGHT}-daemon CACHE INTERNAL "" FORCE)
##############################################################
@@ -50,15 +54,6 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
##############################################################
-# Libs and Bins names
-##############################################################
-set(HICN_LIGHT hicn-light CACHE INTERNAL "" FORCE)
-set(HICN_LIGHT_CONTROL ${HICN_LIGHT}-control CACHE INTERNAL "" FORCE)
-set(HICN_LIGHT_SHELL ${HICN_LIGHT}-shell CACHE INTERNAL "" FORCE)
-set(HICN_LIGHT_DAEMON ${HICN_LIGHT}-daemon CACHE INTERNAL "" FORCE)
-
-
-##############################################################
# Dependencies and third party libs
##############################################################
find_package(LibEvent ${LIBEVENT_DEFAULT_VERSION} REQUIRED)