mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
build qhull static
This commit is contained in:
parent
5366cdf0f4
commit
0ebd68a6c9
11
src/external/qhull.cmake
vendored
11
src/external/qhull.cmake
vendored
@ -26,16 +26,7 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_QHULL)
|
||||
add_subdirectory(${QHULL_DIR} EXCLUDE_FROM_ALL)
|
||||
unset(MESSAGE_QUIET)
|
||||
|
||||
if (WIN32)
|
||||
set(QHULL_TARGET qhullstatic_r)
|
||||
else()
|
||||
set(QHULL_TARGET qhull_r)
|
||||
endif()
|
||||
|
||||
add_library(external-qhull INTERFACE)
|
||||
target_link_libraries(external-qhull INTERFACE ${QHULL_TARGET})
|
||||
target_link_libraries(external-qhull INTERFACE qhullstatic_r)
|
||||
target_include_directories(external-qhull INTERFACE "${QHULL_DIR}/src")
|
||||
if (NOT WIN32)
|
||||
install(TARGETS ${QHULL_TARGET} DESTINATION ${MESHLAB_LIB_INSTALL_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user