We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf75c1d + 1572a59 commit 62bc9a0Copy full SHA for 62bc9a0
src/CMakeLists.txt
@@ -204,6 +204,9 @@ elseif( CMAKE_COMPILER_IS_GNUCXX )
204
# we only want c++0x if we're using gcc 4.5.2
205
set( CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}" )
206
endif()
207
+
208
+ set( CMAKE_CXX_FLAGS "-pthread ${CMAKE_CXX_FLAGS}" )
209
+ set( CMAKE_C_FLAGS "-pthread ${CMAKE_C_FLAGS}" )
210
211
if( BUILD64 )
212
set( CMAKE_CXX_FLAGS "-m64 ${CMAKE_CXX_FLAGS}" )
0 commit comments