[build] Don't enforce WITH_FLAT_INSTALL with MSVC (#5515)

This commit is contained in:
autoantwort
2023-08-07 04:58:41 +02:00
committed by GitHub
parent 999f677d8c
commit 84ed8aec05

View File

@@ -81,11 +81,6 @@ if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "" FORCE)
endif()
# We always want flat install with MSVC.
if (MSVC)
set(WITH_FLAT_INSTALL ON)
endif()
if (WITH_JAVA AND NOT BUILD_SHARED_LIBS)
message(FATAL_ERROR "
FATAL: Cannot build static libs with Java enabled.