summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-07-11 19:52:44 +0800
committerGitHub <noreply@github.com>2024-07-11 19:52:44 +0800
commit57742cb02b04ea973ff702b42a7e380decd4048f (patch)
tree7d9442161f76e91e66ddb108002d5b84b980cddf /CMakeLists.txt
parent304f9f9a355ba543c767094c17f147e3845065fa (diff)
Statically link MSVC runtime (#4613)
* Statically link MSVC runtime * Statically link MSVC runtime for llvm
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 415343050..1dd289a8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,7 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.25")
cmake_policy(SET CMP0141 NEW)
endif()
+cmake_policy(SET CMP0091 NEW)
# Don't use absolute paths to the build tree in RPATH, this makes the build
# tree relocatable