Extended build information output and reference build type
[alexxy/gromacs.git] / src / CMakeLists.txt
index 2d61ef4ec407ec637ad886bb5b92e983e4032e00..ebe8f695443b3908411b6b18b3f7e96869a26f9d 100644 (file)
@@ -1,4 +1,5 @@
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmakein ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+configure_file(config.h.cmakein config.h)
+configure_file(buildinfo.h.cmakein buildinfo.h)
 
 include(../cmake/BuildManPages.cmake)