You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/installation/linux_install.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ What gets installed where
111
111
By default, everything will be installed to the subdirectories ``/install/path/{bin,lib,share}``, where ``/install/path`` is the install path given to ``cmake``:
Copy file name to clipboardExpand all lines: examples/MyModule/CMakeLists.txt
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -214,13 +214,11 @@ execute_process(
214
214
# on OS X
215
215
set( CMAKE_MACOSX_RPATH ON )
216
216
217
-
# Use the NEST_INSTALL_* variables as CMAKE_INSTALL_*, if not set explicitly.
218
-
if ( "${CMAKE_INSTALL_PREFIX}"STREQUAL"/usr/local" )
219
-
set( CMAKE_INSTALL_PREFIX"${NEST_INSTALL_PREFIX}"CACHESTRING"Install path prefix, prepended onto install directories." FORCE )
220
-
set( CMAKE_INSTALL_LIBDIR "${NEST_LIBDIR}/nest"CACHESTRING"object code libraries (lib/nest or lib64/nest or lib/<multiarch-tuple>/nest on Debian)" FORCE )
221
-
set( CMAKE_INSTALL_DOCDIR "${NEST_INSTALL_DOCDIR}"CACHESTRING"documentation root (DATAROOTDIR/doc/nest)" FORCE )
222
-
set( CMAKE_INSTALL_DATADIR "${NEST_INSTALL_DATADIR}"CACHESTRING"read-only architecture-independent data (DATAROOTDIR/nest)" FORCE )
223
-
endif ()
217
+
# Use the NEST_INSTALL_* variables as CMAKE_INSTALL_*
218
+
set( CMAKE_INSTALL_PREFIX"${NEST_INSTALL_PREFIX}"CACHESTRING"Install path prefix, prepended onto install directories." FORCE )
219
+
set( CMAKE_INSTALL_LIBDIR "${NEST_LIBDIR}"CACHESTRING"object code libraries (lib/nest or lib64/nest or lib/<multiarch-tuple>/nest on Debian)" FORCE )
220
+
set( CMAKE_INSTALL_DOCDIR "${NEST_INSTALL_DOCDIR}"CACHESTRING"documentation root (DATAROOTDIR/doc/nest)" FORCE )
221
+
set( CMAKE_INSTALL_DATADIR "${NEST_INSTALL_DATADIR}"CACHESTRING"read-only architecture-independent data (DATAROOTDIR/nest)" FORCE )
0 commit comments