projects
/
platform
/
core
/
system
/
upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c6e4c
)
cmake: Explicitly set install prefix to /usr
94/287694/1
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 2 Feb 2023 11:03:06 +0000
(12:03 +0100)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 2 Feb 2023 11:04:56 +0000
(12:04 +0100)
Change-Id: Ia5f6949128eb7ccd95220a8e59cfac424f7c750c
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 453d410d5dc23a8be9ca26aa285f6885cd6b080e..e86459958c67fd553e3dae8cda600ff78535b069 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-38,6
+38,7
@@
ENDIF("${ARCH}" STREQUAL "arm")
ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed -pie")
+SET(CMAKE_INSTALL_PREFIX "/usr")
# set this to ON if you want to build on host
OPTION(DEFINE_HOST_BUILD OFF)
@@
-45,4
+46,4
@@
IF(DEFINE_HOST_BUILD)
INCLUDE(CMakeLists.host-build)
ELSE()
INCLUDE(CMakeLists.target-build)
-ENDIF()
\ No newline at end of file
+ENDIF()