From c4e617a5b13821103d162c7e8d722d00bd77e618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 17 Jun 2019 17:28:43 +0300 Subject: [PATCH] version.cpp -> qpms_version.c Former-commit-id: 55e00cf38df185b8d94c95cdf2b0155f5cd2e005 --- version.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/version.cmake b/version.cmake index df2bc14..f8b632e 100644 --- a/version.cmake +++ b/version.cmake @@ -22,13 +22,13 @@ endif() set(VERSION "const char* GIT_REV=\"${GIT_REV}\"; const char* GIT_BRANCH=\"${GIT_BRANCH}\";") -if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/version.cpp) - file(READ ${CMAKE_CURRENT_SOURCE_DIR}/version.cpp VERSION_) +if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/qpms_version.c) + file(READ ${CMAKE_CURRENT_SOURCE_DIR}/qpms_version.c VERSION_) else() set(VERSION_ "") endif() if (NOT "${VERSION}" STREQUAL "${VERSION_}") - file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/version.cpp "${VERSION}") + file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/qpms_version.c "${VERSION}") endif()