summaryrefslogtreecommitdiff
blob: 99aaca546f49fdf94e49c42d6874953e4116adf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
do not install examples automatically, we do this explictly with dodoc.

Index: geant4.10.00/CMakeLists.txt
===================================================================
--- geant4.10.00.orig/CMakeLists.txt
+++ geant4.10.00/CMakeLists.txt
@@ -136,15 +136,6 @@ if(GEANT4_BUILD_EXAMPLES)
   add_subdirectory(examples)
 endif()
 
-# - Install example code to datarootdir
-install(DIRECTORY examples
-  DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION}
-  COMPONENT Examples
-  PATTERN "CVS" EXCLUDE
-  PATTERN ".svn" EXCLUDE
-  )
-
-
 #-----------------------------------------------------------------------------
 # Provide packaging with CPack.
 include(Geant4CPackBase)