Commit c900b25d authored by gabime's avatar gabime

fixed gcc build

parent b09b07ab
......@@ -32,6 +32,11 @@ else()
find_package(spdlog CONFIG REQUIRED)
endif()
if (CMAKE_COMPILER_IS_GNUCXX)
set ( CMAKE_CXX_FLAGS "--std=c++11 -pthread")
set ( CMAKE_EXE_LIKKER_FLAGS "-pthread")
endif ()
add_executable(example example.cpp)
target_link_libraries(example spdlog::spdlog)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment