mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 04:22:32 +02:00
.travis.yml:add c++11 flag for osx (#236)
* .travis.yml:add c++11 flag for osx fixes #233 And correct flags for model_import_export, edit BUILD.md
This commit is contained in:
@@ -7,6 +7,11 @@ SET(TARGET_NAME "zetaglest_tests")
|
||||
IF(BUILD_ZETAGLEST_TESTS)
|
||||
MESSAGE(STATUS "Build ${TARGET_NAME} = YES")
|
||||
|
||||
# The tests fail on Travis with clang on osx because of the use of "bind"
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
|
||||
endif()
|
||||
|
||||
INCLUDE (CheckIncludeFiles)
|
||||
|
||||
FIND_PACKAGE(CppUnit REQUIRED)
|
||||
|
Reference in New Issue
Block a user