mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(FreeBSD) Added support for building with DEINIT_ON_LAUNCH
This commit is contained in:
parent
2a9ab5ea88
commit
330f36ee14
|
@ -370,11 +370,11 @@ if(VIDEO_HW_DECODING)
|
|||
endif()
|
||||
|
||||
if(DEINIT_ON_LAUNCH)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
||||
add_compile_definitions(DEINIT_ON_LAUNCH)
|
||||
message("-- Building with deinitialization on game launch")
|
||||
else()
|
||||
message(FATAL_ERROR "-- Deinitialization on game launch can only be used on Linux")
|
||||
message(FATAL_ERROR "-- Deinitialization on game launch can only be used on Linux and FreeBSD")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue