File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ set(DIST_HDRS
43
43
)
44
44
45
45
# Use our custom mutex/condition only on ANDROID
46
- set (DIST_ANDROID_HDRS
46
+ set (DIST_LINUX_HDRS
47
47
${PUBLIC_HDR_DIR} /${TARGET_LINUX}/Mutex.h
48
48
)
49
49
@@ -140,8 +140,8 @@ else()
140
140
endif ()
141
141
142
142
install (FILES ${DIST_HDRS} DESTINATION include /${TARGET} )
143
- if (ANDROID )
144
- install (FILES ${DIST_ANDROID_HDRS } DESTINATION include /${TARGET_LINUX} )
143
+ if (LINUX OR ANDROID )
144
+ install (FILES ${DIST_LINUX_HDRS } DESTINATION include /${TARGET_LINUX} )
145
145
else ()
146
146
install (FILES ${DIST_GENERIC_HDRS} DESTINATION include /${TARGET_GENERIC} )
147
147
endif ()
Original file line number Diff line number Diff line change 17
17
#ifndef TNT_UTILS_CONDITION_H
18
18
#define TNT_UTILS_CONDITION_H
19
19
20
- #if defined(__ANDROID__ )
20
+ #if defined(__linux__ )
21
21
#include <utils/linux/Condition.h>
22
22
#else
23
23
#include <utils/generic/Condition.h>
Original file line number Diff line number Diff line change 17
17
#ifndef TNT_UTILS_MUTEX_H
18
18
#define TNT_UTILS_MUTEX_H
19
19
20
- #if defined(__ANDROID__ )
20
+ #if defined(__linux__ )
21
21
#include <utils/linux/Mutex.h>
22
22
#else
23
23
#include <utils/generic/Mutex.h>
You can’t perform that action at this time.
0 commit comments