Project

General

Profile

Actions

Support #7487

closed

FindWT.cmake not found

Added by Shujaat Khan about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
-
Start date:
03/09/2020
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

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.

Actions #2

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.

Actions

Also available in: Atom PDF