forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
40 lines (36 loc) · 995 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.
############################################################################
# CMakeLists.txt file for building ROOT graf2d/x11 package
# @author Pere Mato, CERN
############################################################################
ROOT_STANDARD_LIBRARY_PACKAGE(GX11
HEADERS
TGX11.h
SOURCES
src/gifdecode.c
src/gifencode.c
src/gifquantize.c
src/GX11Gui.cxx
src/Rotated.cxx
src/TGX11.cxx
DICTIONARY_OPTIONS
-writeEmptyRootPCM
LIBRARIES
${X11_LIBRARIES}
${X11_Xpm_LIB}
${CMAKE_THREAD_LIBS_INIT}
DEPENDENCIES
Core
MathCore
INSTALL_OPTIONS
FILTER "inc/X11/"
FILTER "X11$"
)
target_include_directories(GX11 PRIVATE ${X11_INCLUDE_DIR})
if(AIX)
target_include_directories(GX11 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/inc)
endif()