mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Enable components search in package config mode
This commit is contained in:
committed by
Erik de Castro Lopo
parent
1794b0cd79
commit
29fadb6e47
@@ -7,3 +7,12 @@ if(@OGG_FOUND@)
|
||||
endif()
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
|
||||
|
||||
if(TARGET FLAC::FLAC)
|
||||
set(FLAC_FLAC_FOUND 1)
|
||||
endif()
|
||||
if(TARGET FLAC::FLAC++)
|
||||
set(FLAC_FLAC++_FOUND 1)
|
||||
endif()
|
||||
|
||||
check_required_components(FLAC)
|
||||
|
||||
Reference in New Issue
Block a user