From 562d99133230457b09d1658bf83a982e5369ebf4 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 26 Jul 2022 11:39:39 +0200 Subject: [PATCH] Follow up to previous commit --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 13aceb998..a0becdab9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,7 +62,8 @@ if (SLIC3R_GUI) include(${wxWidgets_USE_FILE}) else () find_package(wxWidgets 3.1 COMPONENTS html adv gl core base) - if (wxWidgets_NOTFOUND) + if (NOT wxWidgets_FOUND) + message(STATUS "Trying to find wxWidgets in CONFIG mode...") find_package(wxWidgets 3.2 CONFIG REQUIRED COMPONENTS html adv gl core base) else () include(${wxWidgets_USE_FILE})