Skip to content

Commit 0f327a4

Browse files
authored
fix(CMakeLists.txt): remove redundant compiling options on windows. (#263)
1 parent 4b5ef0a commit 0f327a4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,6 @@ add_compile_definitions(SPDLOG_BUILD_SHARED=OFF)
7676
set(spdlog_DIR ${CMAKE_SOURCE_DIR}/3rdparty/spdlog)
7777
add_subdirectory(3rdparty/spdlog)
7878

79-
if(WIN32)
80-
add_compile_options("/std:c++17")
81-
add_compile_definitions(UNICODE _UNICODE)
82-
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
83-
set(GUI_TYPE WIN32)
84-
endif()
85-
8679
if(UNIX AND NOT APPLE)
8780
find_program(LSB_RELEASE_EXEC lsb_release)
8881
execute_process(COMMAND ${LSB_RELEASE_EXEC} -is

0 commit comments

Comments
 (0)