summaryrefslogtreecommitdiffstats
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>2018-10-15 18:22:47 +0200
commit0fb187060d0c2d447f934576e241f3a247be33cf (patch)
tree7babfe55214e4d7eb11ef389cd1c81f9d0582333 /cmake
parenteaeadf682659c15f34aaef3a88ad01b6b7db4084 (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
# -----------------------------------------------------------------------