Other relevant hardware specs: AMD Ryzen 5 PRO 2500U (Not exactly sure what to put here.)
Build system: CMake
Additional context
I noticed that zstd adds ASM and C to the project language list. CMake will configure successfully if I change the project declaration from project(zstd_cmake_lto_bug CXX) to project(zstd_cmake_lto_bug C CXX).
Describe the bug
check_ipo_supported
fails after addingzstd
as a subdirectory.To Reproduce Steps to reproduce the behavior:
-- Configuring incomplete, errors occurred!
[Finished]
Expected behavior
check_ipo_supported
should not fail afterzstd
is included.Screenshots and charts N/A
Desktop: Repro environment 1:
Repro environment 2:
Additional context I noticed that zstd adds
ASM
andC
to the project language list. CMake will configure successfully if I change the project declaration fromproject(zstd_cmake_lto_bug CXX)
toproject(zstd_cmake_lto_bug C CXX)
.