summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/01-build_options.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-06-26 11:47:55 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-06-26 11:53:51 +0200
commit1f2944eea3a418ec02920673a390ed4b5d417a2b (patch)
treee0e44f6b4794775b853118949b1e1da5ec810ef1 /cmake/cmake.d/01-build_options.cmake
parent92646f63ffc32e2c6ede8fb10da2299fc5a54563 (diff)
Fix: wrong compile options added
Change-Id: I697e3812be657abc0b1877e55044225cc001c93e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/01-build_options.cmake')
-rw-r--r--cmake/cmake.d/01-build_options.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/cmake.d/01-build_options.cmake b/cmake/cmake.d/01-build_options.cmake
index 17f1eab..b90e0ce 100644
--- a/cmake/cmake.d/01-build_options.cmake
+++ b/cmake/cmake.d/01-build_options.cmake
@@ -40,9 +40,6 @@ set(CMP0048 1)
############################################################################
link_libraries(-Wl,--as-needed -Wl,--gc-sections)
set(COMPILE_OPTIONS -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-sign-compare -Wno-sign-conversion -Werror=maybe-uninitialized -Werror=implicit-function-declaration -ffunction-sections -fdata-sections -fPIC CACHE STRING "Compilation flags")
-foreach(option ${COMPILE_OPTIONS})
- add_compile_options($<$<CONFIG:PROFILING>:${option}>)
-endforeach()
# Compilation OPTIONS depending on language
#########################################