Skip to content

Commit

Permalink
cmake: set CMAKE_SKIP_RPATH on Linux to fix empty RPATH token issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphon committed Oct 11, 2020
1 parent d3943ca commit 6ed5369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ find_package(Boost 1.58 REQUIRED COMPONENTS
locale)

if(UNIX AND NOT APPLE)
set(CMAKE_SKIP_RPATH ON)
find_package(X11 REQUIRED)
message(STATUS "X11_FOUND = ${X11_FOUND}")
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")
Expand Down

0 comments on commit 6ed5369

Please # to comment.