Skip to content

Commit

Permalink
Added CXX FLAG -fPIC
Browse files Browse the repository at this point in the history
  • Loading branch information
lipi0056 committed Nov 15, 2023
1 parent 2db1dfd commit 2c3d337
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 @@ -9,6 +9,7 @@ if (CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
endif ()

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down

0 comments on commit 2c3d337

Please sign in to comment.