[CMake] find_path / find_package hardcoded path
Stéphane Ancelot
sancelot at numalliance.com
Wed Aug 28 05:39:05 EDT 2019
Hi,
using mingw32 with win10 , I can not manage to find jpeg libs .
I tried setting JPEG_DIR, it fails.
it also fails setting CMAKE_FIND_ROOT_PATH
set(JPEG_DIR c:\\work\\WIN32DEPS\\jpegfolder)
find_path(JPEG_INCLUDE_DIR jpeglib.h) fails
find_package(JPEG ) fails
what is the right way to specify the hardcoded path ?
Regards,
S.Ancelot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190828/6c4544d4/attachment.html>
More information about the CMake
mailing list