Версия 0.4.0

This commit is contained in:
Andrei Astafev 2021-12-22 14:27:40 +03:00
parent d6b5201ac3
commit e540892c2c
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
project(myx-cmake VERSION 0.3.9 LANGUAGES) project(myx-cmake VERSION 0.4.0 LANGUAGES)
include(GNUInstallDirs) include(GNUInstallDirs)
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake

View File

@ -1,7 +1,7 @@
function(myx_cmake_generate_git_info_header) function(myx_cmake_generate_git_info_header)
set(output_file ${CMAKE_BINARY_DIR}/include/myx_cmake_git_info.hpp) set(output_file ${CMAKE_BINARY_DIR}/include/myx_cmake_git_info.hpp)
if(MYX_CMAKE_GENERATED_HEADERS_PATH) if(MYX_CMAKE_GENERATED_HEADERS_PATH)
set(output_file ${MYX_CMAKE_GENERATED_HEADERS_PATH}/myx_cmake_git_info.hpp) set(output_file ${MYX_CMAKE_GENERATED_HEADERS_PATH}/myx_cmake_git_info_p.hpp)
elseif(ARGV0) elseif(ARGV0)
set(output_file ${ARGV0}) set(output_file ${ARGV0})
endif() endif()