Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3c012719 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

gitlab-ci-initial-cache.cmake: CMAKE_C_FLAGS must be set as a cache variable...

gitlab-ci-initial-cache.cmake: CMAKE_C_FLAGS must be set as a cache variable to be used, and thus activate -Werror
parent be7b2e37
No related branches found
No related tags found
1 merge request!518gitlab-ci-initial-cache.cmake: CMAKE_C_FLAGS must be set as a cache variable...
Pipeline #1120204 failed
...@@ -2,7 +2,11 @@ set(BUILD_SHARED_LIBS "ON" CACHE BOOL "") ...@@ -2,7 +2,11 @@ set(BUILD_SHARED_LIBS "ON" CACHE BOOL "")
set(CMAKE_INSTALL_PREFIX "$ENV{PWD}/install-$ENV{VERSION}" CACHE PATH "") set(CMAKE_INSTALL_PREFIX "$ENV{PWD}/install-$ENV{VERSION}" CACHE PATH "")
set(CMAKE_VERBOSE_MAKEFILE "ON" CACHE BOOL "") set(CMAKE_VERBOSE_MAKEFILE "ON" CACHE BOOL "")
set(CMAKE_C_FLAGS "-Werror") if(CMAKE_C_FLAGS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror" CACHE STRING "")
else()
set(CMAKE_C_FLAGS "-Werror" CACHE STRING "")
endif()
option(MORSE_ENABLE_WARNING "Enable warning messages" ON) option(MORSE_ENABLE_WARNING "Enable warning messages" ON)
option(MORSE_ENABLE_COVERAGE "Enable flags for coverage test" ON) option(MORSE_ENABLE_COVERAGE "Enable flags for coverage test" ON)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment