Open Exergist opened 1 year ago
@Exergist In case you never solved this issue, you can use CPM (a thin wrapper around Cmake FetchContent). No installation required. Here is a sample template Github project. TIP; instead of cloning with GIT_REPOSTORY, you can replace it with URL of github release (.tar.gz). Smaller and faster. I also use VS2022 Community. But This works on other platform without hassle of installation. Best for CI/CD as well.
I'm trying to spin up a simple C++ websocket client and I'd like to use IXWebSocket. I've already gone through...
vcpkg install ixwebsocket:x64-windows
...on the Windows 10 command line to install IXWebSocket. However when building in Visual Studio via
CmakeLists.txt
:...
${IXWEBSOCKET_INCLUDE_DIR}
and${IXWEBSOCKET_LIBRARY}
always seems to beNOTFOUND
.headerPath
reports as"D:\Documents\Source\vcpkg\packages\ixwebsocket_x64-windows\include\ixwebsocket\IXWebSocket.h"
(which is correct)libPath
reports as"D:\Documents\Source\vcpkg\packages\ixwebsocket_x64-windows\lib\ixwebsocket.lib"
(which is correct)I must be doing something wrong. Any thoughts or suggestions would be most appreciated!