1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
From: Kevin Murray <spam@kdmurray.id.au>
Date: Tue, 1 Dec 2015 12:58:45 +1100
Subject: Don't override install directories
---
CMakeLists.txt | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c9b13e..d2c7d7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,14 +77,6 @@ ELSE(WIN32 AND NOT UNIX)
SET(PROJ_DIR "/${PROJ_NAME}-${PROJ_VERSION}")
ENDIF(WIN32 AND NOT UNIX)
-SET(CMAKE_DATA_DIR "share${PROJ_DIR}" CACHE STRING
- "Install location for data (relative to prefix).")
-SET(CMAKE_DOC_DIR "doc${PROJ_DIR}" CACHE STRING
- "Install location for documentation (relative to prefix).")
-SET(CMAKE_MAN_DIR "man" CACHE STRING
- "Install location for man pages (relative to prefix).")
-MARK_AS_ADVANCED(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR)
-
SET(CPACK_SOURCE_IGNORE_FILES
"/CVS/" "/\\\\.svn/" "\\\\.swp$" "\\\\.#" "/#" ".*~$"
"/CMakeFiles/" "CMakeCache\\\\.txt"
@@ -187,13 +179,7 @@ ENDIF(WIN32 AND NOT UNIX)
INCLUDE(CPack)
-INSTALL(FILES copying.txt readme.txt changelog.txt DESTINATION ${CMAKE_DOC_DIR})
-INSTALL(FILES lambda.pl outsplit.pl nexus2fasta.pl varrep.pl DESTINATION ${CMAKE_DATA_DIR})
-
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(examples)
ADD_SUBDIRECTORY(doc)
ADD_SUBDIRECTORY(tests)
-
-#INCLUDE(InstallRequiredSystemLibraries)
-
|