This repository was archived by the owner on Sep 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -129,21 +129,18 @@ set(SCAP_WORKBENCH_LINK_LIBRARIES
129
129
130
130
# see https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling
131
131
132
- if (APPLE )
133
- # when building, use the install RPATH
134
- # (but later on when installing)
135
- set (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
132
+ # when building, use the install RPATH
133
+ # (but later on when installing)
134
+ set (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
136
135
137
- set (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR} )
136
+ set (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR} )
138
137
139
- # add the automatically determined parts of the RPATH
140
- # which point to directories outside the build tree to the install RPATH
141
- set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
138
+ # add the automatically determined parts of the RPATH
139
+ # which point to directories outside the build tree to the install RPATH
140
+ set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
142
141
143
- # Turn on RPATH for OSX for policy warning
144
- set (CMAKE_MACOSX_RPATH ON )
145
- # ---------- CONFIGURATION
146
- endif ()
142
+ # Turn on RPATH for OSX
143
+ set (CMAKE_MACOSX_RPATH ON )
147
144
148
145
configure_file ("include/Config.h.in" "${CMAKE_CURRENT_BINARY_DIR} /Config.h" )
149
146
# It is not trivial to make the resulting file executable :-(
You can’t perform that action at this time.
0 commit comments