Disable example config generation at build time
authorSamuel Henrique <samueloph@debian.org>
Thu, 7 Jan 2021 13:56:45 +0000 (13:56 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Thu, 7 Jan 2021 13:56:45 +0000 (13:56 +0000)
Forwarded: not-needed

This patch is needed for reproducible builds

Gbp-Pq: Name disable_config_generation.patch

CMakeLists.txt

index d687cdd3d11b47855b581ba6ccf133a4c063e0e3..1d3974b1c4992619ff76fa8bed23762bb53e66f6 100644 (file)
@@ -155,13 +155,13 @@ endif()
 # }}}
 # Configure and install {{{
 
-configure_file(
-  ${CMAKE_CURRENT_LIST_DIR}/config.cmake
-  ${CMAKE_CURRENT_LIST_DIR}/config
-  ESCAPE_QUOTES @ONLY)
-
-install(FILES config
-  DESTINATION ${CMAKE_INSTALL_DOCDIR}
-  COMPONENT config)
+#configure_file(
+#  ${CMAKE_CURRENT_LIST_DIR}/config.cmake
+#  ${CMAKE_CURRENT_LIST_DIR}/config
+#  ESCAPE_QUOTES @ONLY)
+#
+#install(FILES config
+#  DESTINATION ${CMAKE_INSTALL_DOCDIR}
+#  COMPONENT config)
 
 # }}}