Browse Source

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

tyler92 2 years ago
parent
commit
2e608624c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Util/cmake/PocoUtilConfig.cmake

+ 2 - 2
Util/cmake/PocoUtilConfig.cmake

@@ -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")