diff options
author | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:18 -0500 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:18 -0500 |
commit | 320ef65362608ee1148c299d8d5d7618af34e470 (patch) | |
tree | c47911c219d1e35b8b0771e9e0176eff0e0d08ec /cmake/libgav1_build_definitions.cmake | |
parent | 2381d803c76105f44717d75f089ec37f51e5cfe4 (diff) | |
download | libgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.gz libgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.bz2 libgav1-320ef65362608ee1148c299d8d5d7618af34e470.zip |
New upstream version 0.17.0
Diffstat (limited to 'cmake/libgav1_build_definitions.cmake')
-rw-r--r-- | cmake/libgav1_build_definitions.cmake | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cmake/libgav1_build_definitions.cmake b/cmake/libgav1_build_definitions.cmake index fc83490..0d00bb6 100644 --- a/cmake/libgav1_build_definitions.cmake +++ b/cmake/libgav1_build_definitions.cmake @@ -32,7 +32,7 @@ macro(libgav1_set_build_definitions) # # We set LIBGAV1_SOVERSION = [c-a].a.r set(LT_CURRENT 0) - set(LT_REVISION 0) + set(LT_REVISION 1) set(LT_AGE 0) math(EXPR LIBGAV1_SOVERSION_MAJOR "${LT_CURRENT} - ${LT_AGE}") set(LIBGAV1_SOVERSION "${LIBGAV1_SOVERSION_MAJOR}.${LT_AGE}.${LT_REVISION}") @@ -53,7 +53,8 @@ macro(libgav1_set_build_definitions) "LIBGAV1_FLAGS_TMPDIR=\"/tmp\"") if(MSVC OR WIN32) - list(APPEND libgav1_defines "_CRT_SECURE_NO_DEPRECATE=1" "NOMINMAX=1") + list(APPEND libgav1_defines "_CRT_SECURE_NO_WARNINGS" "NOMINMAX" + "_SCL_SECURE_NO_WARNINGS") endif() if(ANDROID) @@ -159,7 +160,7 @@ macro(libgav1_set_build_definitions) # Source file names ending in these suffixes will have the appropriate # compiler flags added to their compile commands to enable intrinsics. - set(libgav1_avx2_source_file_suffix "avx2.cc") - set(libgav1_neon_source_file_suffix "neon.cc") - set(libgav1_sse4_source_file_suffix "sse4.cc") + set(libgav1_avx2_source_file_suffix "avx2(_test)?.cc") + set(libgav1_neon_source_file_suffix "neon(_test)?.cc") + set(libgav1_sse4_source_file_suffix "sse4(_test)?.cc") endmacro() |