mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: [CMake] Link test executable with log library in Android (#11979)
This commit is contained in:
parent
d9461e52af
commit
0937158499
|
@ -288,6 +288,10 @@ target_link_libraries(openttd
|
|||
)
|
||||
|
||||
target_link_libraries(openttd_test PRIVATE openttd_lib)
|
||||
if(ANDROID)
|
||||
target_link_libraries(openttd_test PRIVATE log)
|
||||
endif()
|
||||
|
||||
include(Catch)
|
||||
catch_discover_tests(openttd_test)
|
||||
|
||||
|
|
Loading…
Reference in New Issue