[libcxx-commits] [libcxx] b87fdd9 - [libcxx] Reindent a section of a CMake file. NFC. (#122800)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 14 03:43:14 PST 2025
Author: Martin Storsjö
Date: 2025-01-14T13:43:10+02:00
New Revision: b87fdd9ce612d53b0e0b73d7c062b39a042e8629
URL: https://github.com/llvm/llvm-project/commit/b87fdd9ce612d53b0e0b73d7c062b39a042e8629
DIFF: https://github.com/llvm/llvm-project/commit/b87fdd9ce612d53b0e0b73d7c062b39a042e8629.diff
LOG: [libcxx] Reindent a section of a CMake file. NFC. (#122800)
This was missed in 43ba97e7079525a9686e15a6963508dfbd493f81 (#111821)
when reindenting after
917ada35cd937ad4104dff89c48398bd796ba6b7 (#80007).
Added:
Modified:
libcxx/src/CMakeLists.txt
Removed:
################################################################################
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt
index 41ab8cad5b7da8..4e9bf900af4c53 100644
--- a/libcxx/src/CMakeLists.txt
+++ b/libcxx/src/CMakeLists.txt
@@ -248,18 +248,18 @@ if (LIBCXX_ENABLE_SHARED)
list(APPEND LIBCXX_BUILD_TARGETS "cxx_shared")
endif()
- if(WIN32 AND NOT MINGW AND NOT "${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
- # Since we most likely do not have a mt.exe replacement, disable the
- # manifest bundling. This allows a normal cmake invocation to pass which
- # will attempt to use the manifest tool to generate the bundled manifest
- if (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC")
- set_target_properties(cxx_shared PROPERTIES
- APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO")
- else()
- set_target_properties(cxx_shared PROPERTIES
- APPEND_STRING PROPERTY LINK_FLAGS " -Xlinker /MANIFEST:NO")
- endif()
+if(WIN32 AND NOT MINGW AND NOT "${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
+ # Since we most likely do not have a mt.exe replacement, disable the
+ # manifest bundling. This allows a normal cmake invocation to pass which
+ # will attempt to use the manifest tool to generate the bundled manifest
+ if (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC")
+ set_target_properties(cxx_shared PROPERTIES
+ APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO")
+ else()
+ set_target_properties(cxx_shared PROPERTIES
+ APPEND_STRING PROPERTY LINK_FLAGS " -Xlinker /MANIFEST:NO")
endif()
+endif()
set(CMAKE_STATIC_LIBRARY_PREFIX "lib")
More information about the libcxx-commits
mailing list