Project

General

Profile

Emulator Issues #9402 ยป dolphin-emu-5.0-gtest.patch

Patch to add shared gtest support - alexjnewt, 03/04/2016 02:35 AM

View differences:

CMakeLists.txt
########################################
# Unit testing.
#
include_directories(Externals/gtest/include)
add_subdirectory(Externals/gtest)
include(FindGTest)
if(GTEST_FOUND)
message("Using shared gtest")
include_directories(${GTEST_INCLUDE_DIRS})
else()
message("Using static gtest from Externals")
include_directories(Externals/gtest/include)
add_subdirectory(Externals/gtest)
endif(GTEST_FOUND)
enable_testing()
add_custom_target(unittests)
    (1-1/1)