Fixing relwithdebug for now

This commit is contained in:
tamasmeszaros 2022-08-24 13:45:57 +02:00
parent 3f4cdbe41f
commit 432577cf9d
3 changed files with 6 additions and 3 deletions

View File

@ -380,6 +380,7 @@ function(slic3r_remap_configs targets from_Cfg to_Cfg)
foreach(tgt ${targets})
if(TARGET ${tgt})
message(STATUS "remapping target ${tgt}")
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
endif()
endforeach()

View File

@ -21,6 +21,7 @@ prusaslicer_add_cmake_project(OCCT
-DBUILD_MODULE_Visualization=OFF
)
if (MSVC)
add_debug_dep(dep_OCCT)
endif ()
# TODO: debug mode does not compile
# if (MSVC)
# add_debug_dep(dep_OCCT)
# endif ()

View File

@ -67,6 +67,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)
else ()
include(${wxWidgets_USE_FILE})
endif ()