mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45: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()
|
endif()
|
||||||
|
|
||||||
if(DEINIT_ON_LAUNCH)
|
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)
|
add_compile_definitions(DEINIT_ON_LAUNCH)
|
||||||
message("-- Building with deinitialization on game launch")
|
message("-- Building with deinitialization on game launch")
|
||||||
else()
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue