mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
installing e57 only when shared lib
This commit is contained in:
parent
4ebae09f45
commit
0251633a2b
5
src/external/e57.cmake
vendored
5
src/external/e57.cmake
vendored
@ -21,7 +21,10 @@ if (TARGET external-xerces)
|
||||
set(MESSAGE_QUIET ON)
|
||||
add_subdirectory(e57 EXCLUDE_FROM_ALL)
|
||||
unset(MESSAGE_QUIET)
|
||||
install(TARGETS E57Format DESTINATION ${MESHLAB_LIB_INSTALL_DIR})
|
||||
get_target_property(target_type E57Format TYPE)
|
||||
if (target_type STREQUAL "SHARED_LIBRARY")
|
||||
install(TARGETS E57Format DESTINATION ${MESHLAB_LIB_INSTALL_DIR})
|
||||
endif ()
|
||||
|
||||
add_library(external-libE57Format INTERFACE)
|
||||
target_link_libraries(external-libE57Format INTERFACE E57Format)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user