summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindSndio.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindSndio.cmake')
-rw-r--r--cmake/modules/FindSndio.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindSndio.cmake b/cmake/modules/FindSndio.cmake
index 3dd53d9..5f08acd 100644
--- a/cmake/modules/FindSndio.cmake
+++ b/cmake/modules/FindSndio.cmake
@@ -25,7 +25,7 @@ find_package_handle_standard_args(Sndio
25if(SNDIO_FOUND) 25if(SNDIO_FOUND)
26 set(SNDIO_INCLUDE_DIRS ${SNDIO_INCLUDE_DIR}) 26 set(SNDIO_INCLUDE_DIRS ${SNDIO_INCLUDE_DIR})
27 set(SNDIO_LIBRARIES ${SNDIO_LIBRARY}) 27 set(SNDIO_LIBRARIES ${SNDIO_LIBRARY})
28 set(SNDIO_DEFINITIONS -DHAVE_SNDIO=1) 28 set(SNDIO_DEFINITIONS -DHAS_SNDIO=1)
29 29
30 if(NOT TARGET Sndio::Sndio) 30 if(NOT TARGET Sndio::Sndio)
31 add_library(Sndio::Sndio UNKNOWN IMPORTED) 31 add_library(Sndio::Sndio UNKNOWN IMPORTED)
@@ -33,7 +33,7 @@ if(SNDIO_FOUND)
33 IMPORTED_LOCATION "${SNDIO_LIBRARY}" 33 IMPORTED_LOCATION "${SNDIO_LIBRARY}"
34 INTERFACE_INCLUDE_DIRECTORIES "${SNDIO_INCLUDE_DIR}") 34 INTERFACE_INCLUDE_DIRECTORIES "${SNDIO_INCLUDE_DIR}")
35 set_target_properties(Sndio::Sndio PROPERTIES 35 set_target_properties(Sndio::Sndio PROPERTIES
36 INTERFACE_COMPILE_DEFINITIONS -DHAVE_SNDIO=1) 36 INTERFACE_COMPILE_DEFINITIONS -DHAS_SNDIO=1)
37 endif() 37 endif()
38endif() 38endif()
39 39