mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 08:11:11 -06:00
Mac: Implement Retina for the 3D scene, fix #97
This commit is contained in:
parent
28f1a6f256
commit
d1c569dd57
11 changed files with 421 additions and 89 deletions
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
|
|||
|
||||
include(PrecompiledHeader)
|
||||
|
||||
add_library(libslic3r_gui STATIC
|
||||
set(SLIC3R_GUI_SOURCES
|
||||
pchheader.cpp
|
||||
pchheader.hpp
|
||||
GUI/AboutDialog.cpp
|
||||
|
@ -127,6 +127,12 @@ add_library(libslic3r_gui STATIC
|
|||
Utils/HexFile.hpp
|
||||
)
|
||||
|
||||
if (APPLE)
|
||||
list(APPEND SLIC3R_GUI_SOURCES Utils/RetinaHelperImpl.mm)
|
||||
endif ()
|
||||
|
||||
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
||||
|
||||
target_link_libraries(libslic3r_gui libslic3r avrdude imgui)
|
||||
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
||||
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue