From 1910243beaea5a60727cbdd04cb00666f04590c8 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 4 Oct 2022 14:52:45 +0300 Subject: [PATCH] 1.99.77 --- MyxCMakeConfigVersion.cmake | 2 +- README.md | 4 ++-- VERSION | 2 +- lib/generators/GitInfoHeader.cmake | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/MyxCMakeConfigVersion.cmake b/MyxCMakeConfigVersion.cmake index c6b6816..f355bf4 100644 --- a/MyxCMakeConfigVersion.cmake +++ b/MyxCMakeConfigVersion.cmake @@ -1,4 +1,4 @@ -set(MYX_CMAKE_PACKAGE_VERSION "1.99.76") +set(MYX_CMAKE_PACKAGE_VERSION "1.99.77") if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() diff --git a/README.md b/README.md index 3156fe6..164af55 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,10 @@ if(MYX_CMAKE_DIR) set(ENV{MYX_CMAKE_DIR} ${MYX_CMAKE_DIR}) endif() if(DEFINED ENV{MYX_CMAKE_DIR}) - find_package(MyxCMake 1.99.76 REQUIRED) + find_package(MyxCMake 1.99.77 REQUIRED) else() if(MYX_CMAKE_USE_SYSTEM) - find_package(MyxCMake 1.99.76 REQUIRED) + find_package(MyxCMake 1.99.77 REQUIRED) else() include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake) endif() diff --git a/VERSION b/VERSION index e652cd2..5d45d54 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.99.76 +1.99.77 diff --git a/lib/generators/GitInfoHeader.cmake b/lib/generators/GitInfoHeader.cmake index 52263c4..3155319 100644 --- a/lib/generators/GitInfoHeader.cmake +++ b/lib/generators/GitInfoHeader.cmake @@ -96,12 +96,11 @@ configure_file(${git_info_hpp_in_path} \"\${GIT_INFO_FILE}\") if(NOT TARGET ${target}-git-info-header) add_custom_target(${target}-git-info-header ALL ${CMAKE_COMMAND} -DGIT_INFO_FILE=${filename} -P ${git_info_cmake_in_path} + BYPRODUCTS ${filename} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) endif() # cmake-format: on - file(WRITE ${filename} "") - set_property(TARGET ${target} APPEND PROPERTY PRIVATE_HEADER_FILES ${filename}) target_sources(${target} PRIVATE ${filename}) endfunction()