package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
579 B
20 lines
579 B
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}
|
|
|