Skip to content

Commit

Permalink
fix: build with -fPIC on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 31, 2024
1 parent 371a02e commit 2a98184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project(endstone_cpp_plugin CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

add_compile_definitions(_ITERATOR_DEBUG_LEVEL=0)

Expand Down

0 comments on commit 2a98184

Please sign in to comment.