File: use_debian_packaged_cimg.h

package info (click to toggle)
beads 1.1.18+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 628 kB
  • sloc: cpp: 4,491; ansic: 14; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 19 Oct 2017 14:58:04 +0200
Description: Use Debian packaged CImg.h from cimg-dev package since
 the code copy shipped together with upstream is outdated and does not
 build with recent gcc

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,6 +67,7 @@ ELSE(WIN32)
 	#FIND_PACKAGE(Pthreads REQUIRED)
 	SET(CMAKE_CXX_FLAGS_RELEASE "-s -O3 -DNDEBUG")
 	SET ( CIMG_OS 1)
+	SET(EXTRA_CIMG_LIBRARY "X11")
 ENDIF(WIN32)
 
 #