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})
|
foreach(tgt ${targets})
|
||||||
if(TARGET ${tgt})
|
if(TARGET ${tgt})
|
||||||
|
message(STATUS "remapping target ${tgt}")
|
||||||
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
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
|
-DBUILD_MODULE_Visualization=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
if (MSVC)
|
# TODO: debug mode does not compile
|
||||||
add_debug_dep(dep_OCCT)
|
# if (MSVC)
|
||||||
endif ()
|
# add_debug_dep(dep_OCCT)
|
||||||
|
# endif ()
|
||||||
|
@ -67,6 +67,7 @@ if (SLIC3R_GUI)
|
|||||||
if (NOT wxWidgets_FOUND)
|
if (NOT wxWidgets_FOUND)
|
||||||
message(STATUS "Trying to find wxWidgets in CONFIG mode...")
|
message(STATUS "Trying to find wxWidgets in CONFIG mode...")
|
||||||
find_package(wxWidgets 3.2 CONFIG REQUIRED COMPONENTS html adv gl core base)
|
find_package(wxWidgets 3.2 CONFIG REQUIRED COMPONENTS html adv gl core base)
|
||||||
|
slic3r_remap_configs("${wxWidgets_LIBRARIES}" RelWithDebInfo Release)
|
||||||
else ()
|
else ()
|
||||||
include(${wxWidgets_USE_FILE})
|
include(${wxWidgets_USE_FILE})
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user