cmake: default install prefix to ./stage1

This commit is contained in:
Andrew Kelley 2022-05-01 14:05:01 -07:00
parent f65ca80bbe
commit 615a983517

View File

@ -12,7 +12,7 @@ if(NOT CMAKE_BUILD_TYPE)
endif() endif()
if(NOT CMAKE_INSTALL_PREFIX) if(NOT CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE STRING set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/stage1" CACHE STRING
"Directory to install zig to" FORCE) "Directory to install zig to" FORCE)
endif() endif()