From 9b8d00e07fd33db73657034ca2f2b2c8bd02a76b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 29 Dec 2022 08:03:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cmake/TaichiCAPI.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/TaichiCAPI.cmake b/cmake/TaichiCAPI.cmake index 6aaafba8f50699..112c0dfa966a08 100644 --- a/cmake/TaichiCAPI.cmake +++ b/cmake/TaichiCAPI.cmake @@ -72,7 +72,7 @@ set(C_API_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build") set_target_properties(${TAICHI_C_API_NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${C_API_OUTPUT_DIRECTORY} ARCHIVE_OUTPUT_DIRECTORY ${C_API_OUTPUT_DIRECTORY}) - + if (${CMAKE_GENERATOR} MATCHES "^Visual Studio") # Visual Studio is a multi-config generator, which appends ${CMAKE_BUILD_TYPE} to the output folder add_custom_command(