mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
Update minimum cmake version to 3.5
Currently, cmake is emitting the following warning: ``` CMake Deprecation Warning at cmake/ccache.cmake:23 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. ``` Update the CMake min version to 3.5 to unclutter the build logs and ensure users don't get broken by the deprecation.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
add_library(glide_computer_lib STATIC glide_computer_lib.cpp include/glide_computer_lib.h)
|
||||
target_link_libraries(glide_computer_lib PRIVATE mp-units::core-fmt PUBLIC mp-units::si mp-units::utility example_utils)
|
||||
|
Reference in New Issue
Block a user