Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.49 KB

known_issues.md

File metadata and controls

32 lines (21 loc) · 1.49 KB

Selene

Known issues

  • [Dependency] When using Conan to provide libjpeg-turbo as a static library on Windows, and when using a CMake version earlier than 3.12.0, the library might not be found by CMake.

    This is because the binary library file is called jpeg-static.lib, but CMake is not looking for a file with a -static suffix.

    This was fixed in CMake 3.12.0; on earlier versions, a possible workaround is to change the line

    set(jpeg_names ${JPEG_NAMES} jpeg libjpeg)
    

    to

    set(jpeg_names ${JPEG_NAMES} jpeg jpeg-static libjpeg)
    

    in FindJPEG.cmake. This file can be found in the global location where CMake stores its module files (i.e. as part of the CMake installation).

  • [Dependency] When using vcpkg to provide libpng on Linux, the library might not be correctly found by CMake.

    This is because the binary library file is called libpng16.a, but CMake is first looking for library files called libpng.*, which includes e.g. libpng.so from the system-provided package in Ubuntu. The resulting situation is that the headers are coming from the vcpkg directory, but the library is not.

    See this (declined) pull request. An interim workaround could be to change FindPNG.cmake in the CMake modules directory as in this commit.