Skip to content

Commit

Permalink
examples: using CORRADE_CXX_FLAGS also here.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Mar 10, 2013
1 parent b4667cf commit dbb9dd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/CMakeLists.txt
@@ -1,9 +1,8 @@
cmake_minimum_required(VERSION 2.8)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wold-style-cast -Winit-self -pedantic -fvisibility=hidden -std=c++0x")

find_package(Corrade REQUIRED)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CORRADE_CXX_FLAGS}")
include_directories(${CORRADE_INCLUDE_DIR})

add_subdirectory(interconnect)
Expand Down

0 comments on commit dbb9dd5

Please sign in to comment.