forked from mpusz/mp-units
build: AUTHOR_WARNING
changed to WARNING
in compiler warnings CMake
This commit is contained in:
@@ -98,7 +98,7 @@ macro(_set_flags)
|
|||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
set(flags ${GCC_WARNINGS})
|
set(flags ${GCC_WARNINGS})
|
||||||
else()
|
else()
|
||||||
message(AUTHOR_WARNING "No compiler warnings set for '${CMAKE_CXX_COMPILER_ID}' compiler.")
|
message(WARNING "No compiler warnings set for '${CMAKE_CXX_COMPILER_ID}' compiler.")
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
Reference in New Issue
Block a user