void-packages/srcpkgs/ericw-tools/patches/cmake-main.diff

22 lines
597 B
Diff

--- CMakeLists.txt.orig 2019-03-25 22:56:31.000000000 -0400
+++ CMakeLists.txt 2019-10-30 10:51:45.883126206 -0400
@@ -1,6 +1,8 @@
cmake_minimum_required (VERSION 2.8)
project (ericw-tools)
+include(GNUInstallDirs)
+
# Grab the git describe output and store it in GIT_DESCRIBE
# Thanks to http://xit0.org/2013/04/cmake-use-git-branch-and-commit-details-in-project/
execute_process(
@@ -134,9 +136,6 @@
add_subdirectory(vis)
add_subdirectory(man)
-install(FILES README.md DESTINATION bin)
-install(FILES changelog.txt DESTINATION bin)
-
#CPack configuration
set(CPACK_GENERATOR ZIP)