mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 15:47:25 +08:00
Yet another fix of build process
This commit is contained in:
parent
58a0c41713
commit
681e9f03b3
@ -52,9 +52,9 @@ target_link_libraries(slic3r libslic3r libslic3r_gui ${wxWidgets_LIBRARIES} ${CU
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
# add_compile_options(-stdlib=libc++)
|
# add_compile_options(-stdlib=libc++)
|
||||||
# add_definitions(-DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_NO_CXX11_RVALUE_REFERENCES -DBOOST_THREAD_USES_MOVE)
|
# add_definitions(-DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_NO_CXX11_RVALUE_REFERENCES -DBOOST_THREAD_USES_MOVE)
|
||||||
target_link_libraries(XS "-framework IOKit" "-framework CoreFoundation" -lc++)
|
target_link_libraries(slic3r "-framework IOKit" "-framework CoreFoundation" -lc++)
|
||||||
elseif (NOT MSVC)
|
elseif (NOT MSVC)
|
||||||
target_link_libraries(XS -lstdc++)
|
target_link_libraries(slic3r -lstdc++)
|
||||||
endif ()
|
endif ()
|
||||||
# Add the OpenGL and GLU libraries.
|
# Add the OpenGL and GLU libraries.
|
||||||
if (SLIC3R_GUI)
|
if (SLIC3R_GUI)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user