aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-10 20:40:56 +0800
committercrupest <crupest@outlook.com>2022-02-10 20:40:56 +0800
commit28d7016c32b39656dafa0936cfedb02159f9e7cd (patch)
tree5d21eabd1487d26438eb12c888ffaa51b59bf25d /CMakeLists.txt
parentc1dbad5fdf0560983e6c832eddded6f610eae94e (diff)
downloadcru-28d7016c32b39656dafa0936cfedb02159f9e7cd.tar.gz
cru-28d7016c32b39656dafa0936cfedb02159f9e7cd.tar.bz2
cru-28d7016c32b39656dafa0936cfedb02159f9e7cd.zip
...
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d07ecdd..63ae5d13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,8 +20,7 @@ project(cru)
enable_testing()
if (MSVC)
- string(REGEX REPLACE "/W[0-4]\\s*" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- add_compile_options(/utf-8 /W4 /WX)
+ add_compile_options(/utf-8)
endif()
set(CRU_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)