Files
MINGW-packages/mingw-w64-sqlitebrowser/0001-sqlitebrowser-install.patch
2021-07-26 01:11:38 -03:00

22 lines
515 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0209c56..442b170b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -486,7 +486,7 @@ if(WIN32 AND MSVC)
endif()
endif()
-if(NOT WIN32)
+if(NOT WIN32 OR MINGW)
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib)
@@ -496,7 +496,7 @@ if(ENABLE_TESTING)
add_subdirectory(src/tests)
endif()
-if(UNIX)
+if(UNIX OR MINGW)
install(FILES src/icons/${PROJECT_NAME}.png
DESTINATION share/icons/hicolor/256x256/apps/)