CRoaring icon indicating copy to clipboard operation
CRoaring copied to clipboard

Modernize LTO support in CMake

Open lemire opened this issue 6 years ago • 1 comments

Should be as simple as...

cmake_minimum_required(VERSION 3.9) # CMP0069 NEW
include(CheckIPOSupported)
check_ipo_supported(RESULT ltoresult)
if(ltoresult)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()

lemire avatar May 10 '19 01:05 lemire

We just need to verify that it works.

lemire avatar May 10 '19 01:05 lemire