Skip to content

Commit

Permalink
Fix static flag
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Jun 14, 2024
1 parent f72eb43 commit 2bd88de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ endif()

if(LINUX)
target_compile_definitions(${PROJECT_NAME} PUBLIC _GLIBCXX_USE_CXX11_ABI=0)
target_compile_options(${PROJECT_NAME} PUBLIC -stdlib=libc++)
target_link_libraries(${PROJECT_NAME} PUBLIC -static-libc++ -static-libgcc)
target_compile_options(${PROJECT_NAME} PUBLIC -stdlib=libstdc++)
target_link_libraries(${PROJECT_NAME} PUBLIC -static-libstdc++ -static-libgcc)
endif()

set(DYNOHOOK_VERSION "${CMAKE_PROJECT_VERSION}" CACHE STRING "Set version name")
Expand Down

0 comments on commit 2bd88de

Please sign in to comment.