Skip to content

Commit ca3ca93

Browse files
authored
Merge pull request #55 from fpesari/patch-1
Add -pthread flag
2 parents acd32fa + 310b565 commit ca3ca93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
66

77
set(CMAKE_INCLUDE_CURRENT_DIR ON)
88

9+
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
10+
911
set(CMAKE_AUTOMOC ON)
1012
set(CMAKE_AUTORCC ON)
1113
set(CMAKE_AUTOUIC ON)

0 commit comments

Comments
 (0)