diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-07-11 19:52:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-11 19:52:44 +0800 |
| commit | 57742cb02b04ea973ff702b42a7e380decd4048f (patch) | |
| tree | 7d9442161f76e91e66ddb108002d5b84b980cddf /CMakeLists.txt | |
| parent | 304f9f9a355ba543c767094c17f147e3845065fa (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.txt | 1 |
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 |
