--- CMakeLists.txt.orig	2024-11-12 20:03:25 UTC
+++ CMakeLists.txt
@@ -329,7 +329,7 @@ if(NOT MSVC)
 endif()
 
 if(NOT MSVC)
-  if((CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
+  if(TRUE OR (CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
     message(STATUS "Compiler warnings will be ignored.")
   elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (
          ((NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)) AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.2))
@@ -361,12 +361,12 @@ if(USE_FLTO_IF_AVAILABLE STREQUAL "yes")
 if(USE_FLTO_IF_AVAILABLE STREQUAL "yes")
 # Cross-compile-unit optimization not supported by gcc with debug on!
 # Therefore, this may only be done with Release builds.
-if((CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
+if(TRUE OR (CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
   # Only tested on Linux. Might work also on other platforms.
   # If tested and found good, remove this check
-  if (CMAKE_SYSTEM MATCHES "Linux")
+  if (TRUE OR CMAKE_SYSTEM MATCHES "Linux")
     # Usage of -flto tested only with gcc 8.3 and 9.3 (2020-04); when in doubt, leaving it out..
-    if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0))
+    if(TRUE OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0))
       #
       # The execution jumps between compile units rather often. -flot allows optimization across
       # comple units. Binary size reduced by >15% on tested environments. This does not directly
@@ -484,13 +484,6 @@ endif (OPTION_BUILD_TESTS)
   )
 endif (OPTION_BUILD_TESTS)
 
-install (
-  FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION
-  DESTINATION ${WL_INSTALL_BASEDIR}
-  CONFIGURATIONS Debug;Release;RelWithDebInfo;None
-  COMPONENT CoreVersionFile
-)
-
 # TODO(Nordfriese): Use this consistently in places in code that use various other tests for endianness
 include(TestBigEndian)
 TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
@@ -553,10 +546,9 @@ install(
 
 install(
   FILES
-    COPYING
     CREDITS
     ChangeLog
-  DESTINATION ${WL_INSTALL_BASEDIR}
+  DESTINATION ${WL_INSTALL_DOCDIR}
   CONFIGURATIONS Debug;Release;RelWithDebInfo;None
   COMPONENT CoreLicenseFiles
 )
