~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to plugins/scale/CMakeLists.txt

  • Committer: Dennis kasprzyk
  • Author(s): Dennis Kasprzyk
  • Date: 2009-03-15 05:09:18 UTC
  • Revision ID: git-v1:163f6b6f3c3b7764987cbdf8e03cc355edeaa499
New generalized build system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
include_directories (
3
 
    ${compiz_SOURCE_DIR}/include
4
 
    ${compiz_BINARY_DIR}
5
 
    ${CMAKE_CURRENT_SOURCE_DIR}
6
 
    ${COMPIZ_INCLUDE_DIRS}
7
 
)
8
 
 
9
 
link_directories (${compiz_plugindir})
10
 
 
11
 
add_definitions (
12
 
    -DHAVE_CONFIG_H
13
 
    -DLOCALEDIR=\\\"${datadir}/locale\\\"
14
 
    -DPLUGINDIR=\\\"${compiz_plugindir}\\\"
15
 
    -DIMAGEDIR=\\\"${compiz_imagedir}\\\"
16
 
    -DMETADATADIR=\\\"${compiz_metadatadir}\\\"
17
 
)
18
 
 
19
 
add_library (scale SHARED
20
 
    scale.cpp
21
 
)
22
 
 
23
 
target_link_libraries (
24
 
    scale opengl composite
25
 
)
26
 
 
27
 
install (
28
 
    TARGETS scale
29
 
    DESTINATION ${compiz_plugindir}
30
 
)
 
 
b'\\ No newline at end of file'
 
1
find_package (Compiz REQUIRED)
 
2
 
 
3
include (CompizPlugin)
 
4
 
 
5
compiz_plugin(scale PLUGINDEPS composite opengl)
 
 
b'\\ No newline at end of file'