mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix building in paths with spaces not working properly on Linux
This commit is contained in:
parent
6de3876855
commit
3db574b8bb
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue