mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
Fix: [CMake] Link test executable with log library in Android (#11979)
This commit is contained in:
@@ -288,6 +288,10 @@ target_link_libraries(openttd
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(openttd_test PRIVATE openttd_lib)
|
target_link_libraries(openttd_test PRIVATE openttd_lib)
|
||||||
|
if(ANDROID)
|
||||||
|
target_link_libraries(openttd_test PRIVATE log)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(Catch)
|
include(Catch)
|
||||||
catch_discover_tests(openttd_test)
|
catch_discover_tests(openttd_test)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user