diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-01-24 21:58:34 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-01-24 22:00:00 +0300 |
commit | 28f1a6f2561d915443e20b7e8e911d8821be4c69 (patch) | |
tree | a502e5e2f444fd742a6e7b5bd9c5f26c919ea894 /src/CMakeLists.txt | |
parent | 24d736f736f62a02a87e115cccf3e78cd52f7561 (diff) |
Build: Fix wx-config status message
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fd5a735d7..b5948674a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -50,7 +50,6 @@ if (SLIC3R_GUI) if(WIN32) message(STATUS "WXWIN environment set to: $ENV{WXWIN}") elseif(UNIX) - message(STATUS "wx-config path: ${wxWidgets_CONFIG_EXECUTABLE}") set(wxWidgets_USE_UNICODE ON) if(SLIC3R_STATIC) set(wxWidgets_USE_STATIC ON) @@ -72,6 +71,10 @@ if (SLIC3R_GUI) find_package(wxWidgets 3.1 REQUIRED COMPONENTS base core adv html gl) endif () + if(UNIX) + message(STATUS "wx-config path: ${wxWidgets_CONFIG_EXECUTABLE}") + endif() + include(${wxWidgets_USE_FILE}) endif() |