Browse Source

Merge pull request #14340 from Chocobo1/cmake

Use built-in function for configuring file contents
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
2d27083509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -61,5 +61,4 @@ else() @@ -61,5 +61,4 @@ else()
endif()
# Generate version header
file(READ "src/base/version.h.in" versionHeader)
file(WRITE "src/base/version.h" "${versionHeader}")
configure_file("src/base/version.h.in" "${CMAKE_CURRENT_SOURCE_DIR}/src/base/version.h" @ONLY)

Loading…
Cancel
Save