diff options
author | Pino Toscano <pino@kde.org> | 2011-08-22 13:16:23 +0200 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2011-08-22 13:16:23 +0200 |
commit | 5b554b39fca634c8ba58915c14522cb2920fe280 (patch) | |
tree | 82e1c575c3ddfbbb313f238d4daa13ef0c9b1760 /utils | |
parent | f7cd236fea8740ef05635d1fd7917a778cc373f0 (diff) |
pdftocairo/cmake: link to lcms library if available
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 2643e3d8..7c3dfe41 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) |