Browse Source

Use built-in function for configuring file contents

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
c2f149cca3
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  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