Skip to content

Commit 11de7fe

Browse files
committed
build: Do not install manpages on Android, fixing install.
1 parent ba4aec9 commit 11de7fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/list/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ install(
5050
TARGETS openxr_runtime_list RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
5151
COMPONENT openxr_runtime_list
5252
)
53-
if(NOT WIN32)
53+
if(NOT WIN32 AND NOT ANDROID)
5454
install(
5555
FILES openxr_runtime_list.1
5656
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/

src/tests/list_json/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if(NOT ANDROID)
7575
COMPONENT openxr_runtime_list_json
7676
)
7777
endif()
78-
if(NOT WIN32)
78+
if(NOT WIN32 AND NOT ANDROID)
7979
install(
8080
FILES openxr_runtime_list_json.1
8181
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/

0 commit comments

Comments
 (0)