aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-20 15:56:35 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-20 15:56:35 +0200
commitdd95a6c4534ede16959653fe128365e06285d172 (patch)
tree6f8394608747033d58224e396b16ff73addac0ec /cmake
parente1ec23b524467ca1b946c2b707cf64d3a25e5880 (diff)
Add possibility to customize option at link.
Credit to Ronan Le Martret. Change-Id: I5ea24a275df6726f87ce5e87abbb2cfc6d029f28 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.cmake.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample
index 86513bd..fb878a2 100644
--- a/cmake/config.cmake.sample
+++ b/cmake/config.cmake.sample
@@ -66,6 +66,10 @@ set (PKG_REQUIRED_LIST
libmicrohttpd>=0.9.55
)
+# Customize link option
+# -----------------------------
+#list(APPEND link_libraries -an-option)
+
# Compilation options definition
# Use CMake generator expressions to specify only for a specific language
# -----------------------------------------------------------------------