diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-26 11:47:55 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:48 +0200 |
commit | 318942f36f097010cce34022845b3441bbb07f6b (patch) | |
tree | 04f5bdcca0cd453188d7541ff30e218cea0c489b /cmake/cmake.d/01-build_options.cmake | |
parent | b23ebd9328d529ebe6a8f5888d44ef57d1d2ada7 (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.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 ######################################### |