Am 2019-08-28 11:39, schrieb Stéphane Ancelot:
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)
Use forward slashes. Don't do it in the CMakeLists.txt as it is
something happening only on your system, so pass it on the command line,
e.g. as
cmake -D CMAKE_PREFIX_PATH=c:/work/win32deps/jpegfolder
Eike
--
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake