~ubuntu-branches/ubuntu/quantal/compiz/quantal-201303260114

« back to all changes in this revision

Viewing changes to plugins/opengl/src/glxtfpbind/CMakeLists.txt

  • Committer: timo.jyrinki at canonical
  • Date: 2012-09-18 07:56:42 UTC
  • Revision ID: timo.jyrinki@canonical.com-20120918075642-3dkx9ccbg77bk1gy
Check that pixmaps which aren't managed by us actually exist before
binding. (LP: #927168)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDE_DIRECTORIES (  
 
2
  ${compiz_SOURCE_DIR}/src/servergrab/include
 
3
  ${CMAKE_CURRENT_SOURCE_DIR}/../../include
 
4
  ${CMAKE_CURRENT_SOURCE_DIR}/include
 
5
  ${CMAKE_CURRENT_SOURCE_DIR}/src
 
6
    
 
7
  ${Boost_INCLUDE_DIRS}
 
8
)
 
9
 
 
10
LINK_DIRECTORIES (${COMPIZ_LIBRARY_DIRS}) 
 
11
 
 
12
SET( 
 
13
  SRCS 
 
14
  ${CMAKE_CURRENT_SOURCE_DIR}/src/glx-tfp-bind.cpp
 
15
)
 
16
 
 
17
ADD_LIBRARY( 
 
18
  compiz_opengl_glx_tfp_bind STATIC
 
19
  
 
20
  ${SRCS}
 
21
)
 
22
 
 
23
if (COMPIZ_BUILD_TESTING)
 
24
ADD_SUBDIRECTORY( ${CMAKE_CURRENT_SOURCE_DIR}/tests )
 
25
endif (COMPIZ_BUILD_TESTING)
 
26
 
 
27
TARGET_LINK_LIBRARIES(
 
28
  compiz_opengl_glx_tfp_bind
 
29
 
 
30
  compiz_servergrab
 
31
)