~compiz-team/compiz/0.9.12

« back to all changes in this revision

Viewing changes to libdecoration/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
 
check_pkg_module (xrender>=0.9.3 HAVE_XRENDER_0_9_3)
 
1
compiz_pkg_check_modules (HAVE_XRENDER_0_9_3 xrender>=0.9.3)
2
2
 
3
3
configure_file (
4
4
    ${CMAKE_CURRENT_SOURCE_DIR}/config.h.libdecoration.in
43
43
    set (DECORATION_CFLAGS "${DECORATION_CFLAGS}${_val} ")
44
44
endforeach (_val ${LIBDECORATION_CFLAGS})
45
45
 
46
 
generate_pkg_file (
 
46
compiz_configure_file (
47
47
    ${CMAKE_CURRENT_SOURCE_DIR}/libdecoration.pc.in
48
48
    ${CMAKE_CURRENT_BINARY_DIR}/libdecoration.pc
49
49
)
 
50
 
 
51
install (
 
52
    FILES ${CMAKE_CURRENT_BINARY_DIR}/libdecoration.pc
 
53
    DESTINATION ${libdir}/pkgconfig
 
54
)