projects
/
platform
/
upstream
/
cmocka.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed format specifier width mismatch
[platform/upstream/cmocka.git]
/
DefineOptions.cmake
diff --git
a/DefineOptions.cmake
b/DefineOptions.cmake
index
820d93d
..
7564a22
100644
(file)
--- a/
DefineOptions.cmake
+++ b/
DefineOptions.cmake
@@
-1
+1,7
@@
option(WITH_STATIC_LIB "Build with a static library" OFF)
+option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
+option(UNIT_TESTING "Build with unit testing" OFF)
+
+if (UNIT_TESTING)
+ set(WITH_STATIC_LIB ON)
+endif()