mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 05:01:25 -07:00
Use built-in function for configuring file contents
This commit is contained in:
parent
5e4f548321
commit
c2f149cca3
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue