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:
parent
979426f0b0
commit
d4f699bf8f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue