mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-12-21 15:29:21 +00:00
Fixed root cmake root directory
- The previous commit changed the invocation of Cmake, which changed the root directory. This broke the web page build.
This commit is contained in:
parent
ca8cff670a
commit
23cbbeea54
@ -77,6 +77,9 @@ message("SRC Dir is ${PROJECT_SRC_DIR}")
|
||||
set(DOC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/docs)
|
||||
message("Documentation and web page directory is ${DOC_DIR}")
|
||||
|
||||
set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR})
|
||||
message("Install root: ${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
set (PROJECT_TARGET_NAME ${PROJECT_NAME}-v${PROJECT_VERSION}-${ARCH})
|
||||
set (PROJECT_EXECUTABLE_TARGET_NAME ${PROJECT_TARGET_NAME})
|
||||
|
||||
|
@ -62,7 +62,8 @@ build_arch() {
|
||||
local target_arch="$1"
|
||||
local hardware_sig="$2"
|
||||
|
||||
cmake -S . -B "build-$target_arch" -G "$GENERATOR" -DCMAKE_INSTALL_PREFIX=".." -DARCH="$target_arch" \
|
||||
cmake -S . -B "build-$target_arch" -G "$GENERATOR" \
|
||||
-DCMAKE_INSTALL_PREFIX=".." -DARCH="$target_arch" \
|
||||
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user