]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Drop the Subversion query from the build system
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Mar 2013 16:07:13 +0000 (16:07 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Mar 2013 16:07:13 +0000 (16:07 +0000)
The idea of querying for branch and revision via CMake directly is broken
because this happens at configure and not at build time.

git-svn-id: https://svn.dealii.org/branches/branch_cmake@28753 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/config/CMakeLists.txt

index c5f7d1a6ec976b48c69dd35c24fb2cdbdf4b4ab7..02fc4adc995849124ac434c669aff99a4d01057c 100644 (file)
@@ -209,22 +209,4 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
     DESTINATION common
     COMPONENT compat_files
     )
-
-  #
-  # Export some information about the current svn revision:
-  #
-  FIND_PACKAGE(Subversion QUIET)
-  IF(SUBVERSION_FOUND AND EXISTS ${CMAKE_SOURCE_DIR}/.svn)
-    SUBVERSION_WC_INFO(${CMAKE_SOURCE_DIR} _svn)
-    FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Version.svn "${_svn_WC_INFO}")
-  ELSE()
-    FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Version.svn "")
-  ENDIF()
-
-  INSTALL(FILES
-    ${CMAKE_CURRENT_BINARY_DIR}/Version.svn
-    DESTINATION common
-    COMPONENT compat_files
-    )
-
 ENDIF()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.