Merge branch 'master' into blender2.8
[blender.git] / build_files / cmake / platform / platform_unix.cmake
index 74958a8731c7b246ea716eccfbcf8449523ea53f..8c11e93e81a0281804b78044ae7645c64caf0cd0 100644 (file)
@@ -148,7 +148,7 @@ endif()
 # Codecs
 if(WITH_CODEC_SNDFILE)
        find_package_wrapper(SndFile)
-       if(NOT SNDFILE_FOUND)
+       if(NOT LIBSNDFILE_FOUND)
                set(WITH_CODEC_SNDFILE OFF)
        endif()
 endif()