Skip to content

Commit

Permalink
cmake: re-add two missing includes
Browse files Browse the repository at this point in the history
Previously these were were included transitively via
`cmake/ExtractValidFlags.cmake`. ngtcp2#964 deleted that file. The
replacements it added pulled these includes after the local
code uses them.

Re-add these includes into the `CMakeLists.txt` that uses them.

Fixes ngtcp2#979
  • Loading branch information
vszakats committed Oct 23, 2023
1 parent 89efca9 commit f0ff21f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ foreach(_build_type "Release" "MinSizeRel" "RelWithDebInfo")
endforeach()
endforeach()

include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)

include(CMakePushCheckState)

if(NOT CMAKE_C_COMPILER_ID MATCHES "MSVC")
Expand Down

0 comments on commit f0ff21f

Please sign in to comment.