mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
Make LINUX_LOCAL_DEV a CMake option
This commit is contained in:
parent
f2ae1a2545
commit
3cecbae324
1 changed files with 4 additions and 1 deletions
|
@ -315,7 +315,10 @@ endif(WIN32)
|
||||||
# Add an option to build relocatable binaries on Linux
|
# Add an option to build relocatable binaries on Linux
|
||||||
# The Sys folder will need to be copied to the Binaries folder.
|
# The Sys folder will need to be copied to the Binaries folder.
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
add_definitions(-DLINUX_LOCAL_DEV=0)
|
option(LINUX_LOCAL_DEV "Enable relocatable binary" OFF)
|
||||||
|
if(LINUX_LOCAL_DEV)
|
||||||
|
add_definitions('-DLINUX_LOCAL_DEV')
|
||||||
|
endif(LINUX_LOCAL_DEV)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
||||||
# Dolphin requires threads.
|
# Dolphin requires threads.
|
||||||
|
|
Loading…
Add table
Reference in a new issue