Fix static linking to Qhull
This commit is contained in:
parent
5d054d90ed
commit
113c6b2eba
@ -17,7 +17,7 @@ add_library(qhull INTERFACE)
|
|||||||
if(Qhull_FOUND)
|
if(Qhull_FOUND)
|
||||||
|
|
||||||
message(STATUS "Using qhull from system.")
|
message(STATUS "Using qhull from system.")
|
||||||
if(SLICER_STATIC)
|
if(SLIC3R_STATIC)
|
||||||
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhullstatic_r)
|
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhullstatic_r)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhull_r)
|
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhull_r)
|
||||||
|
Loading…
Reference in New Issue
Block a user