Skip to content

Commit 9326083

Browse files
committed
Remove precompile headers
1 parent d3b65e0 commit 9326083

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
cmake_minimum_required(VERSION 3.10)
22

33
project(slick-queue
4-
VERSION 1.4.0
4+
VERSION 1.4.1
55
DESCRIPTION "A C++ Lock-Free MPMC queue"
66
LANGUAGES CXX)
77

88
set(CMAKE_CXX_STANDARD 20)
99

1010
# Options:
11-
option(BUILD_SLICK_QUEUE_TESTS "Build tests" ON)
11+
option(BUILD_SLICK_QUEUE_TESTS "Build tests" ${PROJECT_IS_TOP_LEVEL})
1212

1313
find_package(slick-shm CONFIG QUIET)
1414

@@ -45,20 +45,6 @@ if(UNIX AND NOT APPLE)
4545
target_link_libraries(slick-queue INTERFACE rt atomic)
4646
endif()
4747

48-
target_precompile_headers(slick-queue INTERFACE
49-
<cstdint>
50-
<cstddef>
51-
<atomic>
52-
<stdexcept>
53-
<string>
54-
<cassert>
55-
<thread>
56-
<chrono>
57-
<limits>
58-
<new>
59-
)
60-
61-
6248
if(BUILD_SLICK_QUEUE_TESTS)
6349
enable_testing()
6450
add_subdirectory(tests)

0 commit comments

Comments
 (0)