diff --git a/CMakeLists.txt b/CMakeLists.txt index e4b3b76..24eb714 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,10 @@ # CMake version >= 3.15.0 required because of https://github.com/Forceflow/libmorton/issues/62 # CMake version >= 3.8.2 required because of c++11 cmake_minimum_required(VERSION 3.15.0) -project(libmorton VERSION 0.2.8) +project(libmorton VERSION 0.2.12) if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOMINMAX=1") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOMINMAX=1 -DWIN32_LEAN_AND_MEAN=1") endif() option(BUILD_TESTING "Build unit tests for libmorton" ON) diff --git a/README.md b/README.md index dedddf1..7cc7837 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Libmorton v0.2.12 -[![CMake](https://github.com/Forceflow/libmorton/actions/workflows/cmake.yml/badge.svg)](https://github.com/Forceflow/libmorton/actions/workflows/cmake.yml) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/forceflow) +[![CMake](https://github.com/Forceflow/libmorton/actions/workflows/cmake.yml/badge.svg)](https://github.com/Forceflow/libmorton/actions/workflows/cmake.yml) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT) * Libmorton is a **C++ header-only library** with methods to efficiently encode/decode 64, 32 and 16-bit Morton codes and coordinates, in 2D and 3D. *Morton order* is also known as *Z-order* or *[the Z-order curve](https://en.wikipedia.org/wiki/Z-order_curve)*. * Libmorton is a **lightweight and portable** library - the only dependencies are standard C++ headers. Architecture-specific optimizations are available.