Skip to content

Commit 859a4d4

Browse files
committed
CMakeLists.txt cleanup
1 parent 6282407 commit 859a4d4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ if(UNIX AND NOT APPLE)
1616
target_link_libraries(slick_queue INTERFACE rt atomic)
1717
endif()
1818

19-
if (MSVC)
20-
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
21-
add_definitions(-D_WIN32_WINNT=0x0A00)
22-
set(CMAKE_SUPPRESS_REGENERATION true) # supress zero_check
23-
else()
24-
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native -flto")
25-
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -fsanitize=address,undefined -fno-omit-frame-pointer")
26-
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fsanitize=address,undefined")
27-
endif()
28-
2919
option(BUILD_SLICK_QUEUE_TESTS "Build tests" ON)
3020
if(BUILD_SLICK_QUEUE_TESTS)
3121
if (WIN32)

0 commit comments

Comments
 (0)