Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- libjpeg: /usr/lib/x86_64-linux-gnu/libjpeg.a /usr/lib/x86_64-linux-gnu/libjpeg.so
- /my/jpeg/instalation/lib/libjpeg.so
- cmake .. -DCMAKE_PREFIX_PATH=/my/jpeg/instalation
- cmake ..
- find_package(JPEG NO_SYSTEM_ENVIRONMENT_PATH REQUIRED)
- find_package(JPEG REQUIRED)
- find_package(JPEG PATHS ${CMAKE_PREFIX_PATH} NO_DEFAULT_PATH)
- CMake Error at CMakeLists.txt:7 (find_package):
- Could not find a package configuration file provided by "JPEG" with any of
- the following names:
- JPEGConfig.cmake
- jpeg-config.cmake
- Add the installation prefix of "JPEG" to CMAKE_PREFIX_PATH or set
- "JPEG_DIR" to a directory containing one of the above files. If "JPEG"
- provides a separate development package or SDK, be sure it has been
- installed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement