Fix of compilation on Linux, disabled -Wreorder

This commit is contained in:
Vojtech Bubnik 2018-09-17 17:17:38 +02:00
parent 153bd108a2
commit 27bba45331
4 changed files with 5 additions and 4 deletions

View file

@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules/)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
# Workaround for an old CMake, which does not understand CMAKE_CXX_STANDARD.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall" )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-reorder" )
find_package(PkgConfig REQUIRED)
endif()