Skip to content

Commit

Permalink
Added further documentation concerning C++11 and boost filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
ooxi committed Jan 10, 2016
1 parent c017d63 commit 5ae1c06
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ add_definitions(-DLOCALE_DIR="${LOCALEDIR}")


# Specify C++ standard, I would love to use C++11 but at least on Ubuntu boost
# is compiled with C++98 which will result in linking errors
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
# is compiled with C++98 which will result in linking errors. Seems to be fixed
# in boost 1.57 but Ubuntu before wily does not ship that version.
#
# @see https://svn.boost.org/trac/boost/ticket/6779
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

# Compiler diagnostics are most useful
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
Expand Down

0 comments on commit 5ae1c06

Please sign in to comment.