diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2021-01-03 16:30:45 +0100 |
---|---|---|
committer | shfil <filip.gawin@zoho.com> | 2021-01-11 11:24:25 +0100 |
commit | e9adfd86636af27b98a314f3f42a0d3312063732 (patch) | |
tree | 4b1185a7e3bbb519b8cbff8e47eb816366d26fe0 /cmake/FindSndFile.cmake | |
parent | cmake: use openal/opusfile/mpg123/libsndfile correctly (diff) | |
download | re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar.gz re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar.bz2 re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar.lz re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar.xz re3-e9adfd86636af27b98a314f3f42a0d3312063732.tar.zst re3-e9adfd86636af27b98a314f3f42a0d3312063732.zip |
Diffstat (limited to '')
-rw-r--r-- | cmake/FindSndFile.cmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cmake/FindSndFile.cmake b/cmake/FindSndFile.cmake index f0e2883e..5381af48 100644 --- a/cmake/FindSndFile.cmake +++ b/cmake/FindSndFile.cmake @@ -51,13 +51,10 @@ set(SNDFILE_CFLAGS "${PKG_SNDFILE_CFLAGS_OTHER}" CACHE STRING "CFLAGS of libsndf set(SNDFILE_INCLUDE_DIRS "${SNDFILE_INCLUDE_DIR}") set(SNDFILE_LIBRARIES "${SNDFILE_LIBRARY}") -if (SNDFILE_INCLUDE_DIRS AND SNDFILE_LIBRARIES) -set(SNDFILE_FOUND TRUE) -endif (SNDFILE_INCLUDE_DIRS AND SNDFILE_LIBRARIES) - +if(SNDFILE_INCLUDE_DIRS AND SNDFILE_LIBRARIES) + set(SNDFILE_FOUND TRUE) +endif() -# handle the QUIETLY and REQUIRED arguments and set SndFile_FOUND to TRUE if -# all listed variables are TRUE include(FindPackageHandleStandardArgs) find_package_handle_standard_args(SndFile DEFAULT_MSG SNDFILE_INCLUDE_DIRS SNDFILE_LIBRARIES) |