projects
/
project
/
opkg-lede.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db3fc0c
)
build: enable usign support
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 20 Feb 2017 13:43:30 +0000
(14:43 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Mon, 20 Feb 2017 13:43:30 +0000
(14:43 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 206bc261d3b276a6bb22c1ed1b8894448f8a09ea..9d022e0c6bc1d8599854dec6879ca82aa195d428 100644
(file)
--- 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)