Fix of compilation on Linux & OSX: Cannot create a "slic3r" executable
next to a "slic3r" directory.
This commit is contained in:
parent
681e9f03b3
commit
8f01266ca4
@ -48,6 +48,11 @@ add_subdirectory(slic3r)
|
||||
|
||||
# Create a slic3r executable
|
||||
add_executable(slic3r slic3r.cpp)
|
||||
if(SLIC3R_GUI)
|
||||
set_target_properties(slic3r PROPERTIES OUTPUT_NAME "slic3r-gui")
|
||||
else()
|
||||
set_target_properties(slic3r PROPERTIES OUTPUT_NAME "slic3r-console")
|
||||
endif()
|
||||
target_link_libraries(slic3r libslic3r libslic3r_gui ${wxWidgets_LIBRARIES} ${CURL_LIBRARIES})
|
||||
if (APPLE)
|
||||
# add_compile_options(-stdlib=libc++)
|
||||
|
Loading…
Reference in New Issue
Block a user