diff options
Diffstat (limited to 'net-libs/libquotient/files')
-rw-r--r-- | net-libs/libquotient/files/libquotient-0.7-no-android.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-libs/libquotient/files/libquotient-0.7-no-android.patch b/net-libs/libquotient/files/libquotient-0.7-no-android.patch index 453271e..5d18433 100644 --- a/net-libs/libquotient/files/libquotient-0.7-no-android.patch +++ b/net-libs/libquotient/files/libquotient-0.7-no-android.patch @@ -1,13 +1,13 @@ ---- a/CMakeLists.txt 2022-12-15 11:30:50.177593852 -0500 -+++ b/CMakeLists.txt 2022-11-21 12:15:34.000000000 -0500 -@@ -381,9 +381,7 @@ +--- 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} ) --if (ANDROID) -- install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules) --endif () -+install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules) +-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) |