nickgillian / grt

gesture recognition toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to disable C++11 support in the current version

alberto-tellaeche opened this issue · comments

Hello all;
For my system, I want to test the library, but I would like to disable the C++11 support. I have been looking at the CMakeLists.txt, and C++11 is by default with no effect of the cmake flag ENABLE_CXX11_SUPPORT.
I am in linux, can I simply modify the compiler flags under

if(UNIX) 
    message(STATUS "Building " ${LIB_BUILD_TYPE_INFO}  " library for UNIX/Linux")
    configure_file(grt.pc.in ${CMAKE_CURRENT_BINARY_DIR}/grt.pc @ONLY)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++11")
    set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
endif()

In the CMakeLists.txt ?

Thank you in advance,

commented

If you look at the commits you will see this a2edfcc just get the previous version or revert the setting?