Added logic to make cmake output verbose.

This commit is contained in:
Matthew Budd 2020-06-20 00:20:58 -04:00
parent 36b9cf3fb3
commit 714e7bbfb2
2 changed files with 6 additions and 1 deletions

View File

@ -84,7 +84,10 @@ mkdir -p $INSTALL_PREFIX/usr;
#scons --clean
#scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1 install --prefix=$INSTALL_PREFIX/usr
mkdir build; cd build;
cmake ..
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
..
make -j `nproc`
#DESTDIR=$INSTALL_PREFIX make -j `nproc` install

View File

@ -44,6 +44,8 @@ else(WIN32)
add_definitions( -D_SYSTEM_MINIZIP ${MINIZIP_CFLAGS} )
endif()
#pkg_check_modules( ZLIB REQUIRED zlib)
# Check for SDL2
pkg_check_modules( SDL2 REQUIRED sdl2)