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
The project readme says to use #include <ixwebsocket/xyz.h> but the CMake install logic uses .../include/ixwebsocket in the exported target properties:
This means that unless you get the parent include directory via some other means, the #include directive breaks, which is exactly what just happened to me when I tried to reuse some of my ixwebsocket-dependent code in another CMake project.
Note that ixwebsocket's pkgconfig setup exports the parent include directory, so fixing this would bring those into alignment:
Well my point is that vcpkg is already broken...It seems the answer is to change: $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ixwebsocket>
...to: $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
...which would align it with both the pkgconfig setup and other vcpkg packages' CMake configs.
The project readme says to use
#include <ixwebsocket/xyz.h>
but the CMake install logic uses.../include/ixwebsocket
in the exported target properties:IXWebSocket/CMakeLists.txt
Line 275 in c5a02f1
This means that unless you get the parent include directory via some other means, the
#include
directive breaks, which is exactly what just happened to me when I tried to reuse some of my ixwebsocket-dependent code in another CMake project.Note that ixwebsocket's pkgconfig setup exports the parent
include
directory, so fixing this would bring those into alignment:IXWebSocket/ixwebsocket.pc.in
Line 4 in c5a02f1
The text was updated successfully, but these errors were encountered: