Skip to content

Commit

Permalink
fix(build): -fPIC flag assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Nov 11, 2023
1 parent c1de605 commit 3b7eaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 17)

# Required for dependencies to compile properly.
if (NOT MSVC)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif ()

option(ZKC_ENABLE_ASAN "ZenKitCAPI: Enable sanitizers in debug builds." ON)
Expand Down

0 comments on commit 3b7eaf8

Please sign in to comment.