Skip to content

Commit

Permalink
cmake: set find use variables
Browse files Browse the repository at this point in the history
Issue #52.
  • Loading branch information
cnuke authored and jschlatow committed Jan 11, 2024
1 parent e5e364d commit 1013309
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions share/goa/cmake/Modules/Platform/Genode.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ set(CMAKE_FIND_LIBRARY_PREFIXES "")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".lib.so")
set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")

set(CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH FALSE)
set(CMAKE_FIND_USE_CMAKE_PATH FALSE)
set(CMAKE_FIND_USE_CMAKE_SYSTEM_PATH FALSE)
set(CMAKE_FIND_USE_PACKAGE_REGISTRY FALSE)
set(CMAKE_FIND_USE_PACKAGE_ROOT_PATH FALSE)

set(CMAKE_FIND_USE_INSTALL_PREFIX TRUE)

# library that contains 'dlopen' and friends
set(CMAKE_DL_LIBS "-l:libc.lib.so")

Expand Down

0 comments on commit 1013309

Please sign in to comment.