mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
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
This commit is contained in:
committed by
Erik de Castro Lopo
parent
7a35c52849
commit
e0b62a61a7
@@ -1,10 +1,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
if(@OGG_FOUND@)
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(OGG)
|
||||
endif()
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(Ogg)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user