From 0c49cddae662be4f605600fae131227a89ce4ce9 Mon Sep 17 00:00:00 2001 From: RichardTea <31507749+RichardTea@users.noreply.github.com> Date: Tue, 26 Jan 2021 18:11:05 +0000 Subject: [PATCH] Cleanup cmakelists Don't repeat self Add links to google draco issues --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c94b4018..fc489be1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -586,7 +586,7 @@ IF ( ASSIMP_BUILD_DRACO ) ELSE() # Draco 1.4.1 has many warnings and will not build with /WX or -Werror # See https://github.com/google/draco/issues/672 - # and + # and https://github.com/google/draco/issues/673 IF(MSVC) set(DRACO_CXX_FLAGS "/W0") ELSE() @@ -612,8 +612,10 @@ IF ( ASSIMP_BUILD_DRACO ) endif() # Don't build the draco command-line tools by default - set_target_properties(draco_encoder draco_decoder PROPERTIES EXCLUDE_FROM_ALL TRUE) - set_target_properties(draco_encoder draco_decoder PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE) + set_target_properties(draco_encoder draco_decoder PROPERTIES + EXCLUDE_FROM_ALL TRUE + EXCLUDE_FROM_DEFAULT_BUILD TRUE + ) TARGET_USE_COMMON_OUTPUT_DIRECTORY(${draco_LIBRARIES}) TARGET_USE_COMMON_OUTPUT_DIRECTORY(draco_encoder)