Yet another fix of build process
This commit is contained in:
parent
58a0c41713
commit
681e9f03b3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue