/usr/lib/cmake/QMobipocket/QMobipocketConfig.cmake is in libqmobipocket-dev 4:15.12.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | get_filename_component( _currentDir ${CMAKE_CURRENT_LIST_FILE} PATH)
get_filename_component( _currentDir ${_currentDir} PATH)
get_filename_component( _currentDir ${_currentDir} PATH)
get_filename_component( _currentDir ${_currentDir} PATH)
# find the full paths to the library and the includes:
find_path(QMOBIPOCKET_INCLUDE_DIR qmobipocket/mobipocket.h
HINTS ${_currentDir}/include
NO_DEFAULT_PATH)
find_library(QMOBIPOCKET_LIBRARY qmobipocket
HINTS ${_currentDir}/lib
NO_DEFAULT_PATH)
set(QMOBIPOCKET_LIBRARIES ${QMOBIPOCKET_LIBRARY})
if(QMOBIPOCKET_INCLUDE_DIR AND QMOBIPOCKET_LIBRARY)
set(QMOBIPOCKET_FOUND TRUE)
endif()
|