Skip to content

Commit

Permalink
cmake: set find use variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuke committed Jan 4, 2024
1 parent 9213c0b commit 69c2c70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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,15 @@ 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_SYSTEM_ENVIRONMENT_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 69c2c70

Please sign in to comment.