Skip to content
Snippets Groups Projects
Commit cef85655 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix flags

parent 72dd02cd
Branches
Tags
No related merge requests found
......@@ -5,7 +5,7 @@ IF(WIN32)
add_definitions(-DWIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wall -Wextra -pedantic -Werror -Wconversion -fPIC)
add_compile_options(-Wall -Wextra -pedantic -Wconversion -fPIC)
IF (STOP_BUILD_ON_WARNINGS)
add_compile_options(-Werror)
ENDIF()
......@@ -14,7 +14,7 @@ ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Clang")
IF (STOP_BUILD_ON_WARNINGS)
add_compile_options(-Werror)
ENDIF()
add_compile_options(-Wall -Wextra -pedantic -Werror -Wconversion)
add_compile_options(-Wall -Wextra -pedantic -Wconversion)
ENDIF(WIN32)
set (ASAPO_CXX_COMMON_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/common/cpp/include)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment