Solve build fail in RelWithDebInfo config with several imported targets.
This commit is contained in:
parent
8dea6c2fd8
commit
9f9a40100f
2 changed files with 23 additions and 8 deletions
|
@ -18,11 +18,13 @@ if(Qhull_FOUND)
|
|||
|
||||
message(STATUS "Using qhull from system.")
|
||||
if(SLIC3R_STATIC)
|
||||
slic3r_remap_configs("Qhull::qhullcpp;Qhull::qhullstatic_r" RelWithDebInfo Release)
|
||||
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhullstatic_r)
|
||||
else()
|
||||
slic3r_remap_configs("Qhull::qhullcpp;Qhull::qhull_r" RelWithDebInfo Release)
|
||||
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhull_r)
|
||||
endif()
|
||||
|
||||
|
||||
else(Qhull_FOUND)
|
||||
|
||||
project(qhull)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue