Support preset CMAKE_GENERATOR

In case this is set to 'Ninja' in user environment, build breaks calling
'make' directly. Instead use the cmake build command which takes
the selected generator into account
This commit is contained in:
Alexander Stein 2023-01-22 16:24:06 +01:00
parent 979426f0b0
commit d4f699bf8f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ build() {
sed -i "s/ STATIC / SHARED /" CMakeLists.txt
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_SKIP_BUILD_RPATH=ON
make
cmake --build .
}
package() {