Support #7487
closedFindWT.cmake not found
0%
Description
I downloaded Wt-4.2.1-msvs2017-Windows-x64-SDK.zip when I configure CMake using Wt-4.2.1-msvs2017-Windows-x64-SDK\lib\Wt\examples\CMakeLists.txt I get errors like package wt not found. I searched on internet about possible solutions and I came to know that Wt had findwt.cmake but I can't find it anywhere in Wt-4.2.1-msvs2017-Windows-x64-SDK.zip and in the source repository too.
What should I do or what steps I should follow to compile a simple hello example using windows please!?
I am trying to compile hello example using QtCreator using cmake build system.
Updated by Roel Standaert about 4 years ago
You don't need FindWT.cmake
. Instead, we have a wt-config.cmake
. If you just specify -DWt_DIR=C:\path\to\Wt-4.2.1-msvs2017-Windows-x64-SDK\lib\cmake\wt
it should find it.
Updated by Roel Standaert about 4 years ago
- Tracker changed from Bug to Support
- Status changed from New to Closed
I'm closing this since the question has been answered.