mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 06:12:12 +00:00
Fix unit tests (#11199)
* Fix tests build issue on Windows * Fix `Http digest authentication` 404 error * Fix `libnest2d_tests` missing dlls on Windows
This commit is contained in:
@@ -675,7 +675,17 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/GeneratedConfig.hpp.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/GeneratedConfig.hpp
|
||||
@ONLY)
|
||||
|
||||
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
||||
if (WIN32)
|
||||
add_library(libslic3r_gui STATIC
|
||||
${SLIC3R_GUI_SOURCES}
|
||||
../dev-utils/BaseException.cpp
|
||||
../dev-utils/BaseException.h
|
||||
../dev-utils/StackWalker.cpp
|
||||
../dev-utils/StackWalker.h
|
||||
)
|
||||
else ()
|
||||
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
||||
endif ()
|
||||
target_include_directories(libslic3r_gui PRIVATE Utils ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if (WIN32)
|
||||
|
||||
Reference in New Issue
Block a user