diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt index 2ac029001e49793e07ca5deb826b92125fe237ed..b924eeccf86e287798256814177c69ff4c9c1d21 100644 --- a/src/xpdev/CMakeLists.txt +++ b/src/xpdev/CMakeLists.txt @@ -149,7 +149,7 @@ if(PORTAUDIO_FOUND) endif() CHECK_INCLUDE_FILES(alsa/asoundlib.h USE_ALSA_SOUND) -if(HAS_INTTYPES_H) +if(USE_ALSA_SOUND) target_compile_definitions(xpdev PRIVATE USE_ALSA_SOUND) endif()