mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-21 14:53:02 +01:00
Fix building in paths with spaces not working properly on Linux
This commit is contained in:
@@ -155,7 +155,7 @@ if (UNIX)
|
||||
)
|
||||
# can't use GLOB here, as the files don't exist yet at cmake-time
|
||||
list(APPEND RCT2_SECTIONS "${CMAKE_BINARY_DIR}/openrct2_data_section.o" "${CMAKE_BINARY_DIR}/openrct2_text_section.o")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-T,${CMAKE_CURRENT_SOURCE_DIR}/distribution/linux/ld_script.xc")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-T,\"${CMAKE_CURRENT_SOURCE_DIR}/distribution/linux/ld_script.xc\"")
|
||||
endif (APPLE)
|
||||
endif (UNIX)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user