~ubuntu-branches/ubuntu/utopic/freerdp/utopic

« back to all changes in this revision

Viewing changes to channels/rdpdr/printer/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Otavio Salvador, Jeremy Bicha
  • Date: 2012-02-11 10:34:05 UTC
  • mfrom: (1.1.7) (9.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120211103405-mk0gjhjn70eeyxul
Tags: 1.0.1-1
[ Jeremy Bicha ]
* New upstream release. Closes: #659332.
* Updated symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        printer_main.h
23
23
)
24
24
 
25
 
if(CUPS_FOUND)
 
25
if(WITH_CUPS)
26
26
        set(PRINTER_SRCS
27
27
                ${PRINTER_SRCS}
28
28
                printer_cups.c
29
29
                printer_cups.h
30
30
        )
31
31
        include_directories(${CUPS_INCLUDE_DIR})
 
32
        add_definitions(-DWITH_CUPS)
32
33
endif()
33
34
 
34
35
include_directories(..)
38
39
 
39
40
target_link_libraries(printer freerdp-utils)
40
41
 
41
 
if(CUPS_FOUND)
 
42
if(WITH_CUPS)
42
43
        target_link_libraries(printer ${CUPS_LIBRARIES})
43
44
endif()
44
45