Skip to content
This repository was archived by the owner on Dec 24, 2024. It is now read-only.

Commit fccaa4d

Browse files
committed
FIX: [binaddons] just assume we have perm
1 parent c5b0156 commit fccaa4d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

project/cmake/addons/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,6 @@ endif()
157157
include(${APP_ROOT}/project/cmake/scripts/common/check_target_platform.cmake)
158158

159159
set(ADDON_INSTALL_DIR ${CMAKE_INSTALL_PREFIX})
160-
if(NOT WIN32)
161-
# check install permissions
162-
check_install_permissions(${CMAKE_INSTALL_PREFIX} can_write)
163-
if(NOT ${can_write} AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
164-
set(NEED_SUDO TRUE)
165-
set(ADDON_INSTALL_DIR ${CMAKE_BINARY_DIR}/.install)
166-
message(STATUS "NEED_SUDO: ${NEED_SUDO}")
167-
endif()
168-
endif()
169160

170161
### prepare the build environment for the binary addons
171162
# copy the prepare-env.cmake script to the depends path so that we can include it

0 commit comments

Comments
 (0)