Skip to content

Commit

Permalink
Remove ancient switch for install prefix default (#261)
Browse files Browse the repository at this point in the history
... as it can lead to strange install behavior. Consumers should set it to their needs from outside
  • Loading branch information
Kerstin-Keller authored and FlorianReimold committed Apr 29, 2021
1 parent 9eeff70 commit afe6f04
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,19 +377,6 @@ if(UNIX)
endif ()
endif()

# --------------------------------------------------------
# set install prefix
# --------------------------------------------------------
if(WIN32)
if(NOT ONCE_SET_CMAKE_INSTALL_PREFIX)
set(ONCE_SET_CMAKE_INSTALL_PREFIX TRUE CACHE BOOL
"Have we set the install prefix yet?" FORCE)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/_install CACHE PATH
"Install path prefix, prepended onto install directories"
FORCE)
endif(NOT ONCE_SET_CMAKE_INSTALL_PREFIX)
endif()

# --------------------------------------------------------
# offer the user the choice of overriding the installation directories
# --------------------------------------------------------
Expand Down

0 comments on commit afe6f04

Please sign in to comment.