Skip to content

Commit

Permalink
cmake(feat):add default install prefix path to ${BINARY}/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxin930 committed Dec 20, 2024
1 parent cff6d9c commit 3736d04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ set(CMAKE_CXX_EXTENSIONS OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# default install path is from the original Makefile staging.
set(CMAKE_INSTALL_PREFIX
${CMAKE_BINARY_DIR}/staging
CACHE PATH "Global install prefix" FORCE)

# Setup build type (Debug Release RelWithDebInfo MinSizeRel Coverage). Default
# to minimum size release

Expand Down

0 comments on commit 3736d04

Please sign in to comment.