Skip to content

Commit

Permalink
cmake: disable rpath when linking
Browse files Browse the repository at this point in the history
Disable cmake's use of rpath by setting CMAKE_SKIP_RPATH to TRUE.
  • Loading branch information
davvid committed Jan 25, 2016
1 parent 81e3e06 commit af903ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.4.6 )
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
## allow more human readable "if then else" constructs
SET( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE )
## disable rpath when linking
SET( CMAKE_SKIP_RPATH TRUE )


## project name & version
Expand Down

0 comments on commit af903ed

Please sign in to comment.