diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-22 17:32:21 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-22 17:32:57 +0300 |
commit | 9f9a40100f13a0b8e8b0703a9b034184c47244ed (patch) | |
tree | a03cb20dd0c087acdde9eadc769d1e11b96debb2 /src/qhull | |
parent | 8dea6c2fd8fb31502a6c5ab38298a046c436b8d9 (diff) |
Solve build fail in RelWithDebInfo config with several imported targets.
Diffstat (limited to 'src/qhull')
-rw-r--r-- | src/qhull/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qhull/CMakeLists.txt b/src/qhull/CMakeLists.txt index 9ca0bdff2..ab9aba9af 100644 --- a/src/qhull/CMakeLists.txt +++ b/src/qhull/CMakeLists.txt @@ -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) |