You've already forked n64-controller
14 lines
223 B
CMake
14 lines
223 B
CMake
if(BUILD_TESTING)
|
|
find_package(Catch2 2.3.0 QUIET)
|
|
|
|
if(NOT Catch2_FOUND)
|
|
add_subdirectory(Catch2)
|
|
endif()
|
|
endif()
|
|
|
|
macro(find_package pkg)
|
|
if(NOT TARGET "${pkg}")
|
|
_find_package(${ARGV})
|
|
endif()
|
|
endmacro()
|