summaryrefslogtreecommitdiffstats
path: root/meta/classes/cmake.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r--meta/classes/cmake.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index b18152a8ed..5203d8aca1 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -108,15 +108,15 @@ cmake_do_configure() {
108 ${OECMAKE_SITEFILE} \ 108 ${OECMAKE_SITEFILE} \
109 ${OECMAKE_SOURCEPATH} \ 109 ${OECMAKE_SOURCEPATH} \
110 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ 110 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
111 -DCMAKE_INSTALL_BINDIR:PATH=${bindir} \ 111 -DCMAKE_INSTALL_BINDIR:PATH=${@os.path.relpath(d.getVar('bindir', True), d.getVar('prefix', True))} \
112 -DCMAKE_INSTALL_SBINDIR:PATH=${sbindir} \ 112 -DCMAKE_INSTALL_SBINDIR:PATH=${@os.path.relpath(d.getVar('sbindir', True), d.getVar('prefix', True))} \
113 -DCMAKE_INSTALL_LIBEXECDIR:PATH=${libexecdir} \ 113 -DCMAKE_INSTALL_LIBEXECDIR:PATH=${@os.path.relpath(d.getVar('libexecdir', True), d.getVar('prefix', True))} \
114 -DCMAKE_INSTALL_SYSCONFDIR:PATH=${sysconfdir} \ 114 -DCMAKE_INSTALL_SYSCONFDIR:PATH=${sysconfdir} \
115 -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=${sharedstatedir} \ 115 -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=${@os.path.relpath(d.getVar('sharedstatedir', True), d. getVar('prefix', True))} \
116 -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=${localstatedir} \ 116 -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=${localstatedir} \
117 -DCMAKE_INSTALL_LIBDIR:PATH=${libdir} \ 117 -DCMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir', True), d.getVar('prefix', True))} \
118 -DCMAKE_INSTALL_INCLUDEDIR:PATH=${includedir} \ 118 -DCMAKE_INSTALL_INCLUDEDIR:PATH=${@os.path.relpath(d.getVar('includedir', True), d.getVar('prefix', True))} \
119 -DCMAKE_INSTALL_DATAROOTDIR:PATH=${datadir} \ 119 -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir', True), d.getVar('prefix', True))} \
120 -DCMAKE_INSTALL_SO_NO_EXE=0 \ 120 -DCMAKE_INSTALL_SO_NO_EXE=0 \
121 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ 121 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
122 -DCMAKE_VERBOSE_MAKEFILE=1 \ 122 -DCMAKE_VERBOSE_MAKEFILE=1 \