Commit c26d09d0 authored by Manuel Günther's avatar Manuel Günther
Browse files

Removed the -std=c++11 flag from the compiler options (might be required for...

Removed the -std=c++11 flag from the compiler options (might be required for some of the bob packages, though)
parent 16d2b70f
......@@ -8,6 +8,9 @@ project(test)
# Set the module path so that "FindBob.cmake" is found
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR})
# Add the -pthread option
set(CMAKE_CXX_FLAGS "-pthread" CACHE STRING "Flags used by the compiler during release builds" FORCE)
# Find all Bob packages recursively
find_package(Bob COMPONENTS bob.io.image REQUIRED)
......
......@@ -212,9 +212,6 @@ if (NOT "$ENV{BOB_PREFIX_PATH}" STREQUAL "")
endif()
# TODO: Review this setting. It might overwrite some default settings.
set(CMAKE_CXX_FLAGS "-std=c++0x -pthread" CACHE STRING "Flags used by the compiler during release builds" FORCE)
# iterate over all COMPONENTS and add the packages
foreach (package IN LISTS Bob_FIND_COMPONENTS)
find_bob_package(${package})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment