# Is there special command to replace \<CONFIG\> with the result of IMPORTED\_CONFIGURATIONS

**URL:** https://discourse.cmake.org/t/is-there-special-command-to-replace-config-with-the-result-of-imported-configurations/12706
**Category:** Code
**Tags:** os:windows
**Created:** [October 8, 2024, 1:57am UTC](https://discourse.cmake.org/t/is-there-special-command-to-replace-config-with-the-result-of-imported-configurations/12706 "2024-10-08T01:57:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sea\_Sea](https://discourse.cmake.org/user_avatar/discourse.cmake.org/sea_sea/32/4025_2.png) [@Sea\_Sea](https://discourse.cmake.org/u/Sea_Sea)
#### Post date: [October 8, 2024, 1:57am UTC](https://discourse.cmake.org/t/is-there-special-command-to-replace-config-with-the-result-of-imported-configurations/12706/1 "2024-10-08T01:57:53Z")

</div>

```auto
include(CMakePrintHelpers)
cmake_print_properties(TARGETS "opencv_world" PROPERTIES
    IMPORTED_CONFIGURATIONS
    IMPORTED_IMPLIB_<CONFIG>
    IMPORTED_IMPLIB_RELEASE
)

```

Is there special command to replace with the result of IMPORTED\_CONFIGURATIONS

According to the result of opencv\_world.IMPORTED\_CONFIGURATIONS to define the config of `IMPORTED_IMPLIB_<CONFIG>`
