~gusnan/sakura/sakura-fix-colors

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: David Gómez
  • Author(s): demidrol
  • Date: 2016-10-08 22:47:39 UTC
  • Revision ID: david@pleyades.net-20161008224739-hdvd9984w224urjt
* Bug #1604813 fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        MESSAGE(FATAL_ERROR "You don't seem to have vte >= 2.91 development libraries installed...")
29
29
ENDIF (NOT VTE_FOUND)
30
30
 
 
31
pkg_check_modules (X11 REQUIRED x11)
 
32
IF (NOT X11_FOUND)
 
33
        MESSAGE(FATAL_ERROR "You don't seem to have vte >= 2.91 development libraries installed...")
 
34
ENDIF (NOT X11_FOUND)
 
35
 
31
36
FIND_PROGRAM(POD2MAN pod2man)   
32
37
MESSAGE ("pod2man executable is" ${POD2MAN})    
33
38
 
42
47
ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
43
48
 
44
49
INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
45
 
LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
46
 
LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} m)
 
50
LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS} ${X11_LIBRARY_DIRS})
 
51
LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} ${X11_LIBRARIES} m)
47
52
ADD_EXECUTABLE (sakura src/sakura.c)
48
53
 
49
54
ADD_SUBDIRECTORY (po)