Skip to content

Commit

Permalink
Merge pull request eclipse-iceoryx#5 from ApexAI/link-libraries-stati…
Browse files Browse the repository at this point in the history
…cally

Link iceoryx libaries statically
  • Loading branch information
mossmaurice authored Jun 8, 2022
2 parents c075a8d + 4a5d365 commit 269e9b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ cmake_minimum_required(VERSION 3.16)
find_package(iceoryx_hoofs QUIET)
find_package(iceoryx_posh QUIET)

# Link iceoryx_hoofs and iceoryx_posh libraries statically
option(BUILD_SHARED_LIBS "Link libraries dynamically" OFF)

# fetch iceoryx if not found
if(NOT iceoryx_hoofs_FOUND OR NOT iceoryx_posh_FOUND)
if(iceoryx_hoofs_FOUND)
Expand Down

0 comments on commit 269e9b9

Please sign in to comment.