Fixing relwithdebug for now
This commit is contained in:
parent
3f4cdbe41f
commit
432577cf9d
@ -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()
|
||||
|
7
deps/OCCT/OCCT.cmake
vendored
7
deps/OCCT/OCCT.cmake
vendored
@ -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 ()
|
||||
|
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user