diff options
-rw-r--r-- | CHANGELOG.txt | 4 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | bowshock/CMakeLists.txt | 2 | ||||
-rw-r--r-- | bowshock/include/bow/bs.hxx | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index be82f4f..d8eea37 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +# 0.B.2 + +* Fix data directory not being set correctly by CMake; + # 0.B.1 * Fortify sources; diff --git a/CMakeLists.txt b/CMakeLists.txt index 15df5ca..a90814f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.21) project( bowshock - VERSION 0.11.1 + VERSION 0.11.2 HOMEPAGE_URL "https://mandelbrot.dk/bowshock" LANGUAGES C CXX ) diff --git a/bowshock/CMakeLists.txt b/bowshock/CMakeLists.txt index b35355a..97d1130 100644 --- a/bowshock/CMakeLists.txt +++ b/bowshock/CMakeLists.txt @@ -78,7 +78,7 @@ target_compile_definitions( _FORTIFY_SOURCE=$<IF:$<STREQUAL:"${CMAKE_BUILD_TYPE}","Debug">,0x0,0x2> _POSIX_C_SOURCE=200112l GLFW_INCLUDE_NONE - bow_datDir="/home/delta/Repositories/bowshock/datdir" + bow_datDir="${BOW_DATA_DIRECTORY}" bow_dbg=$<IF:$<STREQUAL:"${CMAKE_BUILD_TYPE}","Debug">,true,false> ) diff --git a/bowshock/include/bow/bs.hxx b/bowshock/include/bow/bs.hxx index e74a584..b2bf23e 100644 --- a/bowshock/include/bow/bs.hxx +++ b/bowshock/include/bow/bs.hxx @@ -30,7 +30,7 @@ static_assert(::zap::bytelen == 0x8u,"Bytes must contain exactly eight bits."); namespace bow { constexpr ::zap::i04 verMaj = 0x0u; constexpr ::zap::i04 verMin = 0xBu; - constexpr ::zap::i04 verPat = 0x1u; + constexpr ::zap::i04 verPat = 0x2u; constexpr bool dbg = bow_dbg; |