diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-26 11:47:55 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-26 11:53:51 +0200 |
commit | 1f2944eea3a418ec02920673a390ed4b5d417a2b (patch) | |
tree | e0e44f6b4794775b853118949b1e1da5ec810ef1 | |
parent | 92646f63ffc32e2c6ede8fb10da2299fc5a54563 (diff) |
Fix: wrong compile options added
Change-Id: I697e3812be657abc0b1877e55044225cc001c93e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | cmake/cmake.d/01-build_options.cmake | 3 |
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 ######################################### |