Hi,
I noticed that in the CMake configuration, the -fPIC compile option is added as a PUBLIC option:
|
target_compile_options(${PROJECT_NAME} PUBLIC -fPIC) |
Would it be possible to change this to PRIVATE? Making it PUBLIC propagates -fPIC to all targets linking s2n, which might be unnecessary or even problematic for some consumers of the library.
Hi,
I noticed that in the CMake configuration, the -fPIC compile option is added as a PUBLIC option:
s2n-tls/CMakeLists.txt
Line 192 in 785ed14
Would it be possible to change this to PRIVATE? Making it PUBLIC propagates -fPIC to all targets linking s2n, which might be unnecessary or even problematic for some consumers of the library.