diff options
Diffstat (limited to 'cmake.deps/cmake/GettextCMakeLists.txt')
-rw-r--r-- | cmake.deps/cmake/GettextCMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake.deps/cmake/GettextCMakeLists.txt b/cmake.deps/cmake/GettextCMakeLists.txt index 0c22efe4a6..e40a73d0c2 100644 --- a/cmake.deps/cmake/GettextCMakeLists.txt +++ b/cmake.deps/cmake/GettextCMakeLists.txt @@ -1,6 +1,14 @@ cmake_minimum_required(VERSION 3.10) + +# Can be removed once minimum version is at least 3.15 +if(POLICY CMP0092) + cmake_policy(SET CMP0092 NEW) +endif() project(gettext C) +add_compile_options(-w) +set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /ignore:4006") + # Adds PREFIX to each item in LIST macro(PREFIX_LIST_ITEMS LIST PREFIX) string(REPLACE ";" ";${PREFIX}" ${LIST} ";${${LIST}}") |