You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CMake's package config file to add the library to a project using find_package the include directory is not referenced, making it impossible to include mstch.hpp in your own project.
This tells CMake to set the INTERFACE_INCLUDE_DIRECTORIES property on the target to ${CMAKE_INSTALL_PREFIX}/include, allowing you to #include <mstch/mstch.hpp>.
The text was updated successfully, but these errors were encountered:
When using CMake's package config file to add the library to a project using
find_package
the include directory is not referenced, making it impossible to includemstch.hpp
in your own project.To fix this, modify
src/CMakeLists.txt
from this:To this:
This tells CMake to set the
INTERFACE_INCLUDE_DIRECTORIES
property on the target to${CMAKE_INSTALL_PREFIX}/include
, allowing you to#include <mstch/mstch.hpp>
.The text was updated successfully, but these errors were encountered: