mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:31:48 +08:00
046374f9e7
Co-authored-by: Jon <v-zhli17@microsoft.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 85b2603..ebb3333 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -5,9 +5,11 @@
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
-cmake_minimum_required(VERSION 3.2)
|
|
+cmake_minimum_required(VERSION 3.5)
|
|
project(LIBWEBM CXX)
|
|
|
|
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|
+
|
|
include(GNUInstallDirs)
|
|
include("${CMAKE_CURRENT_SOURCE_DIR}/build/cxx_flags.cmake")
|
|
|
|
diff --git a/build/msvc_runtime.cmake b/build/msvc_runtime.cmake
|
|
index 7058577..a5a18df 100644
|
|
--- a/build/msvc_runtime.cmake
|
|
+++ b/build/msvc_runtime.cmake
|
|
@@ -15,7 +15,6 @@ if(MSVC)
|
|
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
|
|
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
|
|
if(${flag_var} MATCHES "/MD")
|
|
- string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
|
|
endif(${flag_var} MATCHES "/MD")
|
|
endforeach(flag_var)
|
|
endif()
|