fix(build): Install cmake files with resolved ENABLE_JSON and ENABLE_XML (#4227)

This commit is contained in:
tyler92 2023-11-21 05:07:24 +03:00 committed by GitHub
parent 5e88502b7f
commit 2e608624c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
include(CMakeFindDependencyMacro)
find_dependency(PocoFoundation)
if(ENABLE_XML)
if(@ENABLE_XML@)
find_dependency(PocoXML)
endif()
if(ENABLE_JSON)
if(@ENABLE_JSON@)
find_dependency(PocoJSON)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake")