CMake: Remove LINUX_LOCAL_DEV and symlink required files

This commit is contained in:
Joshua Vandaële
2026-07-24 03:45:13 +02:00
parent fa2a250f01
commit 3d9f46cd64
3 changed files with 65 additions and 42 deletions
-12
View File
@@ -147,12 +147,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()
endif()
if(UNIX)
# Builds a relocatable binary on Linux.
# The Sys folder will need to be copied to the Binaries folder.
option(LINUX_LOCAL_DEV "Enable relocatable binary" OFF)
endif()
list(APPEND CMAKE_MODULE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/CMake
)
@@ -396,12 +390,6 @@ if(ENABLE_LTO)
endif()
endif()
if(UNIX)
if(LINUX_LOCAL_DEV)
add_definitions(-DLINUX_LOCAL_DEV)
endif()
endif()
# BSDs put packages in /usr/local instead of /usr, so we need to
# force CMake to look in those directories by default, too.
# All commands and submodule commands also need to see these