Skip to content
Permalink
Browse files

Fix building on Ubuntu 16.04 with gcc version 5.4.0 20160609 (Ubuntu …

…5.4.0-6ubuntu1~16.04.4).
  • Loading branch information...
orbitcowboy committed Mar 16, 2017
1 parent 01fc2f8 commit 8e6f511e418211fc192da0cc1ae25e964444aa86
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -4,6 +4,10 @@ cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_DEBUG_POSTFIX "d")

if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-std=c++11)
endif()

if(BUILD_SHARED_LIBS)
add_definitions(-DBUILD_TICPP_DLL)
endif(BUILD_SHARED_LIBS)

0 comments on commit 8e6f511

Please sign in to comment.
You can’t perform that action at this time.