Make LINUX_LOCAL_DEV a CMake option
This commit is contained in:
parent
f2ae1a2545
commit
3cecbae324
|
@ -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…
Reference in New Issue