mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 17:49:48 -06:00
cmake: Conditionally build the unit tests.
This allows to skip building the unit tests and avoids the dependency on gtest when doing so.
This commit is contained in:
@ -39,7 +39,10 @@ add_subdirectory(Core)
|
||||
if (ANDROID)
|
||||
add_subdirectory(Android/jni)
|
||||
endif()
|
||||
add_subdirectory(UnitTests)
|
||||
|
||||
if (ENABLE_TESTS)
|
||||
add_subdirectory(UnitTests)
|
||||
endif()
|
||||
|
||||
if (DSPTOOL)
|
||||
add_subdirectory(DSPTool)
|
||||
|
Reference in New Issue
Block a user