Skip to content

Commit

Permalink
Use option() instead of boolean cache variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed May 2, 2018
1 parent f996ad7 commit 5ac989b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ add_definitions(-DPACKAGE_VERSION)
# ====================================
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set (SPECIFY_RPATH OFF CACHE BOOL "Specify RPATH for installed executables")
option (SPECIFY_RPATH "Specify RPATH for installed executables" OFF)
mark_as_advanced (SPECIFY_RPATH)

# ====================================
# default install paths for targets
Expand Down

0 comments on commit 5ac989b

Please sign in to comment.