mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
search for system miniaudio.h too
This commit is contained in:
1 parent
ec6f18ff12
commit
060e79ff2a
1 file changed
+6
-1
+6
-1
@@ -165,6 +165,11 @@ if (${ENABLE_NOTIFICATION_SOUNDS})
|
||||
endif ()
|
||||
|
||||
if (USE_MINIAUDIO)
|
||||
target_include_directories(abaddon PUBLIC subprojects/miniaudio)
|
||||
find_path(MINIAUDIO_INCLUDE_DIR
|
||||
NAMES miniaudio.h
|
||||
HINTS subprojects
|
||||
PATH_SUFFIXES miniaudio
|
||||
REQUIRED)
|
||||
target_include_directories(abaddon PUBLIC ${MINIAUDIO_INCLUDE_DIR})
|
||||
target_compile_definitions(abaddon PRIVATE WITH_MINIAUDIO)
|
||||
endif ()
|
||||
Reference in new issue
Block a user