Fix target remapping for wx targets defined in cmake config script
Remapping is needed for relwithdebuginfo build type to use release version instead of debug
This commit is contained in:
parent
55158b674c
commit
f8bc3f5f7a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ if (SLIC3R_GUI)
|
|||
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)
|
||||
slic3r_remap_configs("${wxWidgets_LIBRARIES}" RelWithDebInfo Release)
|
||||
slic3r_remap_configs(wx::wxhtml wx::wxadv wx::wxgl wx::wxcore wx::wxbase RelWithDebInfo Release)
|
||||
else ()
|
||||
include(${wxWidgets_USE_FILE})
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue