diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-09-10 18:50:18 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-09-10 18:50:18 +0200 |
commit | 35a42fc4379a65a1bd278c98e2d98ce3bb85484f (patch) | |
tree | 9274410e1b775e72c64b7a0ca5652b3333606e0d /src/CMakeLists.txt | |
parent | Merge pull request #1402 from Masy98/Sounds (diff) | |
parent | Added example for how to use version info to travis (diff) | |
download | cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.gz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.bz2 cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.lz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.xz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.zst cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.zip |
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2d96662a9..9d0e2cede 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -75,6 +75,7 @@ SET (HDRS BlockInfo.h BlockTracer.h BoundingBox.h + BuildInfo.h.cmake ByteBuffer.h ChatColor.h Chunk.h @@ -140,6 +141,8 @@ include_directories(".") include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/../lib/sqlite") include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/../lib/SQLiteCpp/include") +configure_file("BuildInfo.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/BuildInfo.h") + if (NOT MSVC) # Bindings need to reference other folders, so they are done here instead # lib dependencies are not included |