Skip to content

Commit

Permalink
iox-#2 Link iceoryx libaries statically
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <[email protected]>
  • Loading branch information
mossmaurice committed Jun 8, 2022
1 parent bacbcf0 commit 3bca0f6
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
set(BUILD_SHARED_LIBS 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 3bca0f6

Please sign in to comment.