[poppler] utils/CMakeLists.txt
Pino Toscano
pino at kemper.freedesktop.org
Mon Aug 22 04:19:21 PDT 2011
utils/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 5b554b39fca634c8ba58915c14522cb2920fe280
Author: Pino Toscano <pino at kde.org>
Date: Mon Aug 22 13:16:23 2011 +0200
pdftocairo/cmake: link to lcms library if available
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index 2643e3d..7c3dfe4 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -36,6 +36,9 @@ if (HAVE_CAIRO)
add_definitions(${CAIRO_CFLAGS})
add_executable(pdftocairo ${pdftocairo_SOURCES})
target_link_libraries(pdftocairo ${CAIRO_LIBRARIES} ${common_libs})
+ if(LCMS_FOUND)
+ target_link_libraries(pdftocairo ${LCMS_LIBRARIES})
+ endif(LCMS_FOUND)
install(TARGETS pdftocairo DESTINATION bin)
install(FILES pdftocairo.1 DESTINATION share/man/man1)
endif (HAVE_CAIRO)
More information about the poppler
mailing list