We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0638c56 commit 47e20e3Copy full SHA for 47e20e3
CMakeLists.txt
@@ -13,9 +13,7 @@ set(CMAKE_C_STANDARD 99)
13
set(CMAKE_C_STANDARD_REQUIRED ON)
14
15
16
-# In order to be able to link on Linux to other shared libraries,
17
-# while compiling e.g. a static webui library, the -fPIC
18
-# is necessary. This has been tested on Linux.
+# In order to be able to link with other shared libraries on Linux we may need `-fPIC`.
19
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
20
# using Clang
21
add_compile_options(-fPIC)
0 commit comments