From: Jo-Philipp Wich Date: Mon, 20 Feb 2017 13:43:30 +0000 (+0100) Subject: build: enable usign support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bec9804c73acf74ba112c9eec4ce7ba97e140c89;p=project%2Fopkg-lede.git build: enable usign support Signed-off-by: Jo-Philipp Wich --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 206bc26..9d022e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ SET(VERSION "" CACHE STRING "Override version") OPTION(STATIC_UBOX "Statically link libubox" OFF) OPTION(BUILD_TESTS "Build test programs" ON) +OPTION(ENABLE_USIGN "Enable usign support" ON) IF(NOT HOST_CPU) SET(HOST_CPU "${CMAKE_HOST_SYSTEM_PROCESSOR}") @@ -39,6 +40,10 @@ ADD_DEFINITIONS(-Os -Wall --std=gnu99 -g3 -Wmissing-declarations -DVERSION="${VERSION}" ) +IF(ENABLE_USIGN) + ADD_DEFINITIONS(-DHAVE_USIGN) +ENDIF() + ADD_SUBDIRECTORY(libbb) ADD_SUBDIRECTORY(libopkg) ADD_SUBDIRECTORY(src)