Skip to content

Commit

Permalink
Enable fPIC on Tinkerforge API.
Browse files Browse the repository at this point in the history
  • Loading branch information
crowbar27 committed Apr 18, 2023
1 parent 9f04cb6 commit 5e67edc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ add_library(tinkerforge STATIC ${TinkerforgeHeaderFiles} ${TinkerforgeSourceFile
target_include_directories(tinkerforge PUBLIC
PUBLIC $<BUILD_INTERFACE:${TinkerforgeDir}>)

if (NOT WIN32)
set_property(TARGET tinkerforge PROPERTY POSITION_INDEPENDENT_CODE ON)
endif ()

# Windows Implementation Library
FetchContent_Declare(wil
URL "https://github.com/microsoft/wil/archive/v1.0.230202.1.tar.gz"
Expand Down

0 comments on commit 5e67edc

Please sign in to comment.