From 96179be2069ed0508569a978369052076a6af841 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 16 Feb 2025 17:09:12 +1100 Subject: [PATCH] Cleanup: cmake indentation --- CMakeLists.txt | 26 +++++++++---------- .../build_environment/cmake/dpcpp.cmake | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e69b156fa2..8d6e1dae7af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1107,14 +1107,14 @@ if(WIN32) option(WITH_WINDOWS_FIND_MODULES "Use find_package to locate libraries" OFF) mark_as_advanced(WITH_WINDOWS_FIND_MODULES) -# The python debugger in Visual Studio for has been broken for years -# but the upstream project over at https://github.com/microsoft/PTVS -# show hopeful signs of life once in a while, so there is hope that -# at one point this will start working again. That being said people -# do keep turning this option on and end up disappointed it isn't -# working and they spend a whole bunch of time on trying to get it to -# work. So for now rather than removing this functionality -# completely, just disable it. + # The python debugger in Visual Studio for has been broken for years + # but the upstream project over at https://github.com/microsoft/PTVS + # show hopeful signs of life once in a while, so there is hope that + # at one point this will start working again. That being said people + # do keep turning this option on and end up disappointed it isn't + # working and they spend a whole bunch of time on trying to get it to + # work. So for now rather than removing this functionality + # completely, just disable it. if(WINDOWS_PYTHON_DEBUG) # No need for a python version check here, anything over python 3.6 isn't working. @@ -1122,11 +1122,11 @@ if(WIN32) set(WINDOWS_PYTHON_DEBUG OFF) endif() -# option(WINDOWS_PYTHON_DEBUG "\ -#Include the files needed for debugging python scripts with visual studio 2017+." -# OFF -# ) -# mark_as_advanced(WINDOWS_PYTHON_DEBUG) + # option(WINDOWS_PYTHON_DEBUG "\ + # Include the files needed for debugging python scripts with visual studio 2017+." + # OFF + # ) + # mark_as_advanced(WINDOWS_PYTHON_DEBUG) option(WITH_WINDOWS_BUNDLE_CRT "Bundle the C runtime for install free distribution." ON) mark_as_advanced(WITH_WINDOWS_BUNDLE_CRT) diff --git a/build_files/build_environment/cmake/dpcpp.cmake b/build_files/build_environment/cmake/dpcpp.cmake index 6f5e644c234..64b977b34f4 100644 --- a/build_files/build_environment/cmake/dpcpp.cmake +++ b/build_files/build_environment/cmake/dpcpp.cmake @@ -92,7 +92,7 @@ if(WIN32) list(APPEND DPCPP_EXTRA_ARGS -DPython3_FIND_REGISTRY=NEVER -Dzstd_LIBRARY=${LIBDIR}/zstd/lib/zstd_static.lib - ) + ) else() list(APPEND DPCPP_EXTRA_ARGS -Dzstd_LIBRARY=${LIBDIR}/zstd/lib/libzstd.a