Skip to content

Commit

Permalink
edit CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzq50 committed Dec 21, 2023
1 parent 53307bc commit cd739ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(CMAKE_DEBUG_POSTFIX "")
endif ()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

MESSAGE(STATUS "C++ Compilation flags: " ${CMAKE_CXX_FLAGS})
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libstdc++ -static-libgcc")

Expand Down
1 change: 1 addition & 0 deletions third_party/iresearch/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ target_link_libraries(iresearch
${SIMD_LIBRARY_STATIC}
text
${LIBURING}
${CMAKE_DL_LIBS}
)

if (CLANG_TIDY_EXE)
Expand Down

0 comments on commit cd739ae

Please sign in to comment.