Skip to content

Commit c3ffade

Browse files
nerdneilsfieldCylix
authored andcommitted
To avoid compile error when DBUILD_EXAMPLES=true. (#103)
1 parent 618aad0 commit c3ffade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# compilation options
2525
###
2626
IF (NOT WIN32)
27-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
27+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++11")
2828
ENDIF (NOT WIN32)
2929

3030

0 commit comments

Comments
 (0)