Navigation


Changeset 1413:1979715b744f in freeDiameter for CMakeLists.txt


Ignore:
Timestamp:
Feb 18, 2020, 4:38:00 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

fix ERRORS_ON_WARNINGS cmake config failure

Configure with -Wno-error if enabling -Werror.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1406 r1413  
    7575IF (ERRORS_ON_WARNINGS)
    7676  SET(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}")
     77  SET(CMAKE_REQUIRED_FLAGS "-Wno-error ${CMAKE_REQUIRED_FLAGS}")
    7778ENDIF (ERRORS_ON_WARNINGS)
    7879
Note: See TracChangeset for help on using the changeset viewer.