Skip to content

Commit 3c941a2

Browse files
authored
Enabled modifying MSVC runtime in cmake (#559)
1 parent 4634b56 commit 3c941a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_minimum_required(VERSION 3.5)
22

3+
if (POLICY CMP0091)
4+
cmake_policy(SET CMP0091 NEW)
5+
endif (POLICY CMP0091)
6+
37
# By default, the version information is extracted from the git index. However,
48
# we can override this behavior by explicitly setting ADS_VERSION and
59
# skipping the git checks. This is useful for cases where this project is being

0 commit comments

Comments
 (0)