Open Kramerican opened 4 years ago
Without knowing what the hell I'm doing, I figured I'd try the suggestion from here:
https://github.com/facebook/Surround360/issues/3
And added SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
to CMakeLists.txt so it becomes:
cmake_minimum_required(VERSION "2.8.0")
set(MAIN_EXECUTABLE frequent-cron)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
project(${MAIN_EXECUTABLE} CXX C)
add_subdirectory(src)
Seems to totally work. But I'd love to get confirmation that it is OK/correct to do this :D
Thanks for this @Kramerican !
Yeah, I think I'll remove the boost dependency. It's a bit of an overkill to require it for this and it causes headaches with newer versions.
Any thoughts on the oldest linux versions that we should support? I was thinking support for Ubuntu 14 and newer is probablly fine.
My two cents would be that Ubuntu 14+ is plenty conservative enough :)
Howdy
Love Frequent Cron. Anyway, it no longer builds on the latest Ubuntu:
Googling reveals this seems to be Boost related. apt reports:
Thanks :)