Follow up to previous commit

This commit is contained in:
tamasmeszaros 2022-07-26 11:39:39 +02:00 committed by Lukas Matena
parent d1c92ded7c
commit 562d991332

View File

@ -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})