We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7169d1 commit 3427becCopy full SHA for 3427bec
examples/external/CMakeLists.txt
@@ -28,3 +28,6 @@ target_include_directories(
28
${TARGET_NAME}
29
PRIVATE ${LIBTRIXI_INCLUDE_DIR}
30
)
31
+
32
+# Set compiler flag for position independent code
33
+target_compile_options( ${TARGET_NAME} PRIVATE "-fPIC" )
0 commit comments