Commit 02a039fa5724703052f30efdd61507d57e7ae789

Authored by DepthDeluxe
1 parent c298e0f6

added building pthread in

Showing 1 changed file with 2 additions and 0 deletions
CMakeLists.txt
... ... @@ -106,6 +106,8 @@ endif()
106 106  
107 107 # Compiler flags
108 108 if(UNIX)
  109 + #set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=gnu++11)
  110 + set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -pthread)
109 111 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer")
110 112 set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib ${_qt5Core_install_prefix}/lib)
111 113 if(NOT APPLE)
... ...