mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-12 22:53:27 +00:00
Add NDK support
This commit is contained in:
@@ -22,4 +22,8 @@ else() # GTest is being linked as vcpkg package
|
||||
find_package(GTest CONFIG REQUIRED)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE GTest::gtest GTest::gtest_main omath::omath)
|
||||
endif()
|
||||
gtest_discover_tests(${PROJECT_NAME})
|
||||
|
||||
# Skip test discovery for Android builds - binaries cannot run on host
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
gtest_discover_tests(${PROJECT_NAME})
|
||||
endif()
|
||||
Reference in New Issue
Block a user