We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f04cb6 commit 5e67edcCopy full SHA for 5e67edc
third_party/CMakeLists.txt
@@ -66,6 +66,10 @@ add_library(tinkerforge STATIC ${TinkerforgeHeaderFiles} ${TinkerforgeSourceFile
66
target_include_directories(tinkerforge PUBLIC
67
PUBLIC $<BUILD_INTERFACE:${TinkerforgeDir}>)
68
69
+if (NOT WIN32)
70
+ set_property(TARGET tinkerforge PROPERTY POSITION_INDEPENDENT_CODE ON)
71
+endif ()
72
+
73
# Windows Implementation Library
74
FetchContent_Declare(wil
75
URL "https://github.com/microsoft/wil/archive/v1.0.230202.1.tar.gz"
0 commit comments