Skip to content

Commit

Permalink
[ci] Fix that we did call C stuff instead of CXX in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Sep 24, 2023
1 parent 7d00b62 commit 0b9673e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(libremidi
include(CMakeDependentOption)
include(CheckSymbolExists)
include(CheckCXXSourceCompiles)
include(CheckIncludeFile)
include(CheckIncludeFileCXX)

option(LIBREMIDI_HEADER_ONLY "Header-only mode" OFF)

Expand Down Expand Up @@ -263,8 +263,8 @@ elseif(UNIX AND NOT APPLE)
## ALSA support ##
if(NOT LIBREMIDI_NO_ALSA)
find_package(ALSA)
check_include_file("<sys/eventfd.h>" LIBREMIDI_HAS_EVENTFD)
check_include_file("<sys/timerfd.h>" LIBREMIDI_HAS_TIMERFD)
check_include_file_cxx("<sys/eventfd.h>" LIBREMIDI_HAS_EVENTFD)
check_include_file_cxx("<sys/timerfd.h>" LIBREMIDI_HAS_TIMERFD)

if(ALSA_FOUND AND LIBREMIDI_HAS_EVENTFD AND LIBREMIDI_HAS_TIMERFD)
message(STATUS "libremidi: using ALSA")
Expand Down

0 comments on commit 0b9673e

Please sign in to comment.