Enable components search in package config mode
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user