Skip to content

Commit 8c74771

Browse files
authored
Merge pull request #12 from chinwobble/update-tests
reduce C++ to c++17
2 parents 2fb8ecc + df4153b commit 8c74771

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CMakeLists.txt
22
cmake_minimum_required(VERSION 3.21)
33
project(fastplong VERSION 0.2.1)
4-
set(CMAKE_CXX_STANDARD 23)
4+
set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
66

77
# Find dependencies provided by vcpkg (via vcpkg.cmake)
@@ -29,6 +29,7 @@ endif()
2929

3030
if (CMAKE_CXX_COMPILER_ARCHITECTURE_ID MATCHES "x86_64")
3131
add_compile_options(-march=haswell -maes)
32+
# add_link_options(-pg)
3233
## HWY_AVX3 which is 512
3334
# SET(GCC_COVERAGE_COMPILE_FLAGS "-march=sapphirerapids")
3435
endif()
@@ -137,4 +138,4 @@ install(TARGETS fastplong
137138
CONFIGURATIONS Release
138139
RUNTIME
139140
DESTINATION bin
140-
)
141+
)

0 commit comments

Comments
 (0)