[glfw3] 09/11: Use the new glfw CMake import target in autopkgtest.

James Cowgill jcowgill at moszumanska.debian.org
Fri Jun 3 12:52:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

jcowgill pushed a commit to branch master
in repository glfw3.

commit ec3075bf579d4d34ac01ff48c6732ff553b3da54
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Fri Jun 3 11:57:09 2016 +0100

    Use the new glfw CMake import target in autopkgtest.
---
 debian/tests/CMakeLists.txt | 3 +--
 debian/tests/cmake          | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/tests/CMakeLists.txt b/debian/tests/CMakeLists.txt
index 27a3382..f3d2293 100644
--- a/debian/tests/CMakeLists.txt
+++ b/debian/tests/CMakeLists.txt
@@ -7,6 +7,5 @@ project(Glfw3Test C)
 find_package(glfw3 REQUIRED CONFIG)
 
 # Build the exexutable
-include_directories(${GLFW3_INCLUDE_DIRS})
 add_executable(glfw3_test glfw3_test.c)
-target_link_libraries (glfw3_test ${GLFW3_LIBRARY})
+target_link_libraries(glfw3_test glfw)
diff --git a/debian/tests/cmake b/debian/tests/cmake
index e9b2a7f..4faafa3 100644
--- a/debian/tests/cmake
+++ b/debian/tests/cmake
@@ -16,7 +16,7 @@ cd "$ADTTMP"
 
 # Run CMake and build program
 CFLAGS='-Wall -Werror' cmake .
-make
+make VERBOSE=1
 echo "build: OK"
 
 # Run it - ensure the correct version is reported

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/glfw3.git



More information about the Pkg-games-commits mailing list