From ec418068e7f802ff0df961c9c515186fe6018436 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Thu, 12 Mar 2020 15:23:44 -0400 Subject: [PATCH] Why prevent installing into /usr/local?!?! !!! --- cmake/settings.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/settings.cmake b/cmake/settings.cmake index ac8c49c2..99f3d693 100644 --- a/cmake/settings.cmake +++ b/cmake/settings.cmake @@ -17,9 +17,9 @@ MARK_AS_ADVANCED( LIBRARY_OUTPUT_PATH ) # what happens when `make install` is invoked: # set default install prefix to project root directory # instead of the cmake default /usr/local -IF( CMAKE_INSTALL_PREFIX STREQUAL "/usr/local" ) - SET( CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}" ) -ENDIF() +#IF( CMAKE_INSTALL_PREFIX STREQUAL "/usr/local" ) +# SET( CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}" ) +#ENDIF() # write this variable to cache SET( CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Where to install ${PROJECT_NAME}" FORCE ) -- GitLab