CMake: Add CI flag for CI builds

This commit is contained in:
TellowKrinkle authored and refractionpcsx2 committed 2021-08-28 03:25:33 +01:00
1 parent 142d91dfb5
commit 2881149f0b
1 file changed
+5
+5
View File
@@ -327,6 +327,11 @@ if(CMAKE_BUILD_STRIP)
add_link_options(-s)
endif()
# Enable special stuff for CI builds
if($ENV{CI} STREQUAL "true")
list(APPEND PCSX2_DEFS PCSX2_CI)
endif()
#-------------------------------------------------------------------------------
# MacOS-specific things
#-------------------------------------------------------------------------------