mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
12 lines
396 B
CMake
12 lines
396 B
CMake
# Let the MSVC runtime be set using CMAKE_MSVC_RUNTIME_LIBRARY, instead of automatically.
|
|
# Since CMake 3.15.
|
|
cmake_policy(SET CMP0091 NEW)
|
|
|
|
# If INTERPROCEDURAL_OPTIMIZATION is enabled and not supported by the compiler, throw an error.
|
|
# Since CMake 3.9.
|
|
cmake_policy(SET CMP0069 NEW)
|
|
|
|
# Use CMAKE_{C,CXX}_STANDARD when evaluating try_compile().
|
|
# Since CMake 3.8.
|
|
cmake_policy(SET CMP0067 NEW)
|