mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Remove not necessary path
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=697086
This commit is contained in:
parent
17ad0df66c
commit
2171899347
|
@ -16,15 +16,11 @@ if (CHM_LIBRARY AND CHM_INCLUDE_DIR)
|
||||||
else (CHM_LIBRARY AND CHM_INCLUDE_DIR)
|
else (CHM_LIBRARY AND CHM_INCLUDE_DIR)
|
||||||
|
|
||||||
find_path(CHM_INCLUDE_DIR chm_lib.h
|
find_path(CHM_INCLUDE_DIR chm_lib.h
|
||||||
/usr/local/include
|
|
||||||
/usr/include
|
|
||||||
${GNUWIN32_DIR}/include
|
${GNUWIN32_DIR}/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(CHM_LIBRARY NAMES chm
|
find_library(CHM_LIBRARY NAMES chm
|
||||||
PATHS
|
PATHS
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
${GNUWIN32_DIR}/lib
|
${GNUWIN32_DIR}/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -20,16 +20,12 @@ else (DJVULIBRE_INCLUDE_DIR AND DJVULIBRE_LIBRARY)
|
||||||
if(_ddjvuIncDir)
|
if(_ddjvuIncDir)
|
||||||
find_path(DJVULIBRE_INCLUDE_DIR libdjvu/ddjvuapi.h
|
find_path(DJVULIBRE_INCLUDE_DIR libdjvu/ddjvuapi.h
|
||||||
${_ddjvuIncDir}
|
${_ddjvuIncDir}
|
||||||
/usr/local/include
|
|
||||||
/usr/include
|
|
||||||
${GNUWIN32_DIR}/include
|
${GNUWIN32_DIR}/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(DJVULIBRE_LIBRARY NAMES djvulibre
|
find_library(DJVULIBRE_LIBRARY NAMES djvulibre
|
||||||
PATHS
|
PATHS
|
||||||
${_ddjvuLinkDir}
|
${_ddjvuLinkDir}
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
${GNUWIN32_DIR}/lib
|
${GNUWIN32_DIR}/lib
|
||||||
)
|
)
|
||||||
endif(_ddjvuIncDir)
|
endif(_ddjvuIncDir)
|
||||||
|
|
|
@ -13,15 +13,9 @@ if (KADMOS_INCLUDE_DIR)
|
||||||
set(Kadmos_FIND_QUIETLY TRUE)
|
set(Kadmos_FIND_QUIETLY TRUE)
|
||||||
endif (KADMOS_INCLUDE_DIR)
|
endif (KADMOS_INCLUDE_DIR)
|
||||||
|
|
||||||
FIND_PATH(KADMOS_INCLUDE_DIR kadmos.h
|
FIND_PATH(KADMOS_INCLUDE_DIR kadmos.h)
|
||||||
/usr/include
|
|
||||||
/usr/local/include
|
|
||||||
)
|
|
||||||
|
|
||||||
FIND_PATH(KADMOS_LIBRARY NAMES librep.a
|
FIND_PATH(KADMOS_LIBRARY NAMES librep.a)
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
)
|
|
||||||
|
|
||||||
if (KADMOS_INCLUDE_DIR AND KADMOS_LIBRARY)
|
if (KADMOS_INCLUDE_DIR AND KADMOS_LIBRARY)
|
||||||
set(KADMOS_FOUND TRUE)
|
set(KADMOS_FOUND TRUE)
|
||||||
|
|
|
@ -20,8 +20,6 @@ else (LIBGS_LIBRARY)
|
||||||
set(CMAKE_LIBRARY_PATH "${LIB_INSTALL_DIR}")
|
set(CMAKE_LIBRARY_PATH "${LIB_INSTALL_DIR}")
|
||||||
find_library(LIBGS_LIBRARY NAMES gs gs-esp
|
find_library(LIBGS_LIBRARY NAMES gs gs-esp
|
||||||
PATHS
|
PATHS
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
${GNUWIN32_DIR}/lib
|
${GNUWIN32_DIR}/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,10 @@ ELSE (OKULAR_INCLUDE_DIR AND OKULAR_LIBRARIES)
|
||||||
|
|
||||||
FIND_LIBRARY (OKULAR_LIBRARIES okularcore
|
FIND_LIBRARY (OKULAR_LIBRARIES okularcore
|
||||||
PATHS
|
PATHS
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
${KDE4_LIB_DIR}
|
${KDE4_LIB_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_PATH (OKULAR_INCLUDE_DIR okular/core/document.h
|
FIND_PATH (OKULAR_INCLUDE_DIR okular/core/document.h
|
||||||
/usr/include/
|
|
||||||
/usr/local/include/
|
|
||||||
${KDE4_INCLUDE_DIR}
|
${KDE4_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -14,17 +14,12 @@ if (SANE_INCLUDE_DIR)
|
||||||
set(Sane_FIND_QUIETLY TRUE)
|
set(Sane_FIND_QUIETLY TRUE)
|
||||||
endif (SANE_INCLUDE_DIR)
|
endif (SANE_INCLUDE_DIR)
|
||||||
|
|
||||||
FIND_PATH(SANE_INCLUDE_DIR sane/sane.h
|
FIND_PATH(SANE_INCLUDE_DIR sane/sane.h)
|
||||||
/usr/include
|
|
||||||
/usr/local/include
|
|
||||||
)
|
|
||||||
|
|
||||||
FIND_LIBRARY(SANE_LIBRARY NAMES sane libsane
|
FIND_LIBRARY(SANE_LIBRARY NAMES sane libsane
|
||||||
PATHS
|
PATHS
|
||||||
/usr/lib/sane
|
/usr/lib/sane
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib/sane
|
/usr/local/lib/sane
|
||||||
/usr/local/lib
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (SANE_INCLUDE_DIR AND SANE_LIBRARY)
|
if (SANE_INCLUDE_DIR AND SANE_LIBRARY)
|
||||||
|
|
Loading…
Reference in a new issue