diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-03-12 22:03:01 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-03-12 22:11:19 +0100 |
commit | 453306b671170c0d96f295df427d1abf3b6b03c4 (patch) | |
tree | 42188f1058191792219bd21664c6a288b72b51b6 /ConfigureChecks.cmake | |
parent | 18726b3aa0b257108b0e88138c0f99ce2610f9af (diff) | |
download | cmocka-453306b671170c0d96f295df427d1abf3b6b03c4.tar.gz cmocka-453306b671170c0d96f295df427d1abf3b6b03c4.tar.xz cmocka-453306b671170c0d96f295df427d1abf3b6b03c4.zip |
cmake: Do not link to librt on Android
Fixes #16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 0e063de..fe8da35 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -100,7 +100,7 @@ else (WIN32) endif (WIN32) find_library(RT_LIBRARY rt) -if (RT_LIBRARY AND NOT LINUX) +if (RT_LIBRARY AND NOT LINUX AND NOT ANDROID) set(CMOCKA_REQUIRED_LIBRARIES ${RT_LIBRARY} CACHE INTERNAL "cmocka required system libraries") endif () |