diff --git a/.travis.yml b/.travis.yml index e71145bf..5c287abd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ script: - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev -y || sudo apt-cache search libgtk3; fi - mkdir build - cd build - - cmake --version - cmake .. -G "Unix Makefiles" - make tester examples - rm -rf * diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c64e2af..3c081290 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,8 +99,8 @@ else() -fvisibility=hidden ) # don't use C_VERSION or CXX_VERSION because they use GNU standards - string(APPEND CMAKE_C_FLAGS " --std=c99") - string(APPEND CMAKE_CXX_FLAGS " --std=c++11") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --std=c99") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11") set(_COMMON_LDFLAGS -fvisibility=hidden