added FindSndFile cmake module to replace inline checks.
[blender.git] / intern / audaspace / CMakeLists.txt
index b7a0b06d4911738642838d573a6ecb93d90386c5..e2356256af5d188b7a97e1f92cf83e35f942a81c 100644 (file)
@@ -206,7 +206,7 @@ endif()
 if(WITH_CODEC_SNDFILE)
        add_definitions(-DWITH_SNDFILE)
        list(APPEND INC sndfile)
-       list(APPEND INC_SYS ${SNDFILE_INC})
+       list(APPEND INC_SYS ${SNDFILE_INCLUDE_DIRS})
        list(APPEND SRC
                sndfile/AUD_SndFileFactory.cpp
                sndfile/AUD_SndFileReader.cpp