C++11 for unix added. Standard CMake command doesn't work on gcc 4.9
This commit is contained in:
parent
dc92fb2b3f
commit
4e26232e24
@ -11,4 +11,5 @@ target_link_libraries(${PROJECT_NAME} threadpool_lib)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(${PROJECT_NAME} threadpool_lib -pthread)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
endif(UNIX)
|
||||
|
Loading…
Reference in New Issue
Block a user