Skip to content

Commit

Permalink
Merge pull request #62 from GrafVonTee/static_link_libstd
Browse files Browse the repository at this point in the history
Added static compilation for libstd
  • Loading branch information
GrafVonTee authored May 20, 2023
2 parents 110fc3c + c664ae9 commit bf730c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.16)
project(triangle_intersections)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc")


include(FetchContent)
FetchContent_Declare(googletest
Expand Down

0 comments on commit bf730c4

Please sign in to comment.