Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. libjpeg: /usr/lib/x86_64-linux-gnu/libjpeg.a /usr/lib/x86_64-linux-gnu/libjpeg.so
  2.  
  3. /my/jpeg/instalation/lib/libjpeg.so
  4.  
  5. cmake .. -DCMAKE_PREFIX_PATH=/my/jpeg/instalation
  6.  
  7. cmake ..
  8.  
  9. find_package(JPEG NO_SYSTEM_ENVIRONMENT_PATH REQUIRED)
  10.  
  11. find_package(JPEG REQUIRED)
  12.  
  13. find_package(JPEG PATHS ${CMAKE_PREFIX_PATH} NO_DEFAULT_PATH)
  14.  
  15. CMake Error at CMakeLists.txt:7 (find_package):
  16. Could not find a package configuration file provided by "JPEG" with any of
  17. the following names:
  18.  
  19. JPEGConfig.cmake
  20. jpeg-config.cmake
  21.  
  22. Add the installation prefix of "JPEG" to CMAKE_PREFIX_PATH or set
  23. "JPEG_DIR" to a directory containing one of the above files. If "JPEG"
  24. provides a separate development package or SDK, be sure it has been
  25. installed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement