Fixes of the CMake build system to compile Release and Debug builds

on MS Windows.
This commit is contained in:
bubnikv 2018-10-22 14:53:48 +02:00
parent 68f77f1031
commit 0799ca2099
8 changed files with 608 additions and 28 deletions

View file

@ -84,7 +84,7 @@ if (SLIC3R_GUI)
# Configure libcurl & OpenSSL
find_package(CURL REQUIRED)
target_include_directories(slic3r PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(slic3r ${CURL_LIBRARIES})
target_link_libraries(slic3r CURL::libcurl)
if (SLIC3R_STATIC)
if (NOT APPLE)
# libcurl is always linked dynamically to the system libcurl on OSX.

View file

@ -167,7 +167,7 @@ target_link_libraries(libslic3r
poly2tri
qhull
semver
${TBB_LIBRARIES}
tbb
)
if(SLIC3R_PROFILE)