summaryrefslogblamecommitdiff
path: root/net-libs/libquotient/files/libquotient-0.7-no-android.patch
blob: 5d18433d93b144b6b10fe825b2991ee5547ed2ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                           


                                                                                     



                                                                                                       


                                                                               
--- a/CMakeLists.txt	2022-11-21 12:15:34.000000000 -0500
+++ b/CMakeLists.txt	2022-12-15 11:30:50.177593852 -0500
@@ -381,7 +381,9 @@
     "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
     DESTINATION ${CMakeFilesLocation}
 )
-install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
+if (ANDROID)
+    install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
+endif ()
 
 if (WIN32)
     install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages)