From 714e7bbfb253d02ab6251522588750cd30c7dcdd Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Sat, 20 Jun 2020 00:20:58 -0400 Subject: [PATCH] Added logic to make cmake output verbose. --- pipelines/linux_build.sh | 5 ++++- src/CMakeLists.txt | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pipelines/linux_build.sh b/pipelines/linux_build.sh index 92d29394..834fa0d3 100755 --- a/pipelines/linux_build.sh +++ b/pipelines/linux_build.sh @@ -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 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 149ca68b..d0a85653 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)