Skip to content

Commit 52816f5

Browse files
authored
Merge pull request #43 from awslabs/FB-AndroidFixes
More cmake unhappiness
2 parents 7908918 + d5570c9 commit 52816f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/initialize_project_version.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ macro(add_project name description)
2626
list(APPEND PROJECT_LIBS "${library_var}")
2727
endforeach()
2828

29+
cmake_policy(SET CMP0028 NEW)
30+
cmake_policy(SET CMP0048 NEW)
31+
cmake_policy(SET CMP0054 NEW)
32+
cmake_policy(SET CMP0056 NEW)
33+
2934
project(${name} VERSION "${PROJECT_VERSION}" LANGUAGES CXX)
3035

3136
endmacro()

0 commit comments

Comments
 (0)