update all cmake files to version 3.9

other misc cmake fixes

version 3.9 allows for ipo (lto)
This commit is contained in:
2022-05-03 18:53:24 +02:00
parent 052bdb45ec
commit 6b06d5cb99
38 changed files with 96 additions and 45 deletions

View File

@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(random CXX)
add_library(random