Commit 9c368e75 authored by Patrick Spendrin's avatar Patrick Spendrin

forward port r853349 and r853404

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=853595
parent 3bf585de
......@@ -20,7 +20,7 @@ if (EPUB_INCLUDE_DIR AND EPUB_LIBRARIES)
else (EPUB_INCLUDE_DIR AND EPUB_LIBRARIES)
find_library (EPUB_LIBRARIES
NAMES epub
NAMES epub libepub
)
find_path (EPUB_INCLUDE_DIR
......
......@@ -36,6 +36,13 @@ if(NOT WIN32)
set(LIBSPECTRE_FOUND TRUE)
endif(_return_VALUE STREQUAL "0")
endif(_SpectreLinkFlags)
else(NOT WIN32)
# do not use pkg-config on windows
find_library(_SpectreLinkFlags NAMES libspectre spectre PATHS ${CMAKE_LIBRARY_PATH})
find_path(LIBSPECTRE_INCLUDE_DIR spectre.h PATH_SUFFIXES libspectre )
set(LIBSPECTRE_FOUND TRUE)
endif(NOT WIN32)
if (LIBSPECTRE_FOUND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment