summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorevpobr <evpobr@gmail.com>2020-05-02 10:54:28 +0500
committerErik de Castro Lopo <erikd@mega-nerd.com>2020-05-03 17:13:50 +1000
commite0b62a61a7b65aef187b038454925a34fa315125 (patch)
tree42cd4bd9f1924528b722fe0fcb6402c17348d94f /cmake
parent7a35c528495b6d8a51e87e007f6810b5553101bc (diff)
downloadflac-e0b62a61a7b65aef187b038454925a34fa315125.tar.gz
Bunch of CMake fixes
* Add more Git ignore patterns * Fix Ogg dependency handling (closes #203) * Remove unneeded compiler flag (closes #204) * Fix Visual Studio DLL build error error C2491: 'flac_internal_rename_utf8': definition of dllimport function not allowed (closes #205) * Add alias targets * Reduce number of CMake files * Improve CMake intrinsics detection
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindOgg.cmake (renamed from cmake/FindOGG.cmake)2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindOGG.cmake b/cmake/FindOgg.cmake
index 7f424126..b60c3526 100644
--- a/cmake/FindOGG.cmake
+++ b/cmake/FindOgg.cmake
@@ -14,7 +14,7 @@ mark_as_advanced(
OGG_LIBRARY)
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(OGG
+find_package_handle_standard_args(Ogg
REQUIRED_VARS OGG_INCLUDE_DIR OGG_LIBRARY
VERSION_VAR _OGG_VERSION)