mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
21 lines
579 B
Diff
21 lines
579 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 76b5a62..174d981 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -40,15 +40,6 @@ else()
|
|
target_compile_definitions(crossguid PRIVATE GUID_LIBUUID)
|
|
endif()
|
|
|
|
-if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
- set(WARNINGS "-Werror" "-Wall")
|
|
-elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
- set(WARNINGS "-Werror" "-Wall")
|
|
-elseif(MSVC)
|
|
- set(WARNINGS "/WX" "/W4")
|
|
-endif()
|
|
-target_compile_options(crossguid PRIVATE ${WARNINGS})
|
|
-
|
|
set_target_properties(crossguid
|
|
PROPERTIES
|
|
VERSION ${PROJECT_VERSION}
|