mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Merge pull request #14340 from Chocobo1/cmake
Use built-in function for configuring file contents
This commit is contained in:
commit
2d27083509
@ -61,5 +61,4 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Generate version header
|
# Generate version header
|
||||||
file(READ "src/base/version.h.in" versionHeader)
|
configure_file("src/base/version.h.in" "${CMAKE_CURRENT_SOURCE_DIR}/src/base/version.h" @ONLY)
|
||||||
file(WRITE "src/base/version.h" "${versionHeader}")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user