cmake: Configure_file variable replacement
<p>I am using cmake's PackageConfigHelpers' </p>

<pre><code>configure_package_config_file(
        Config.cmake.in"
        "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
        INSTALL_DESTINATION
        ....
        PATH_VARS
        my_paths
)
</code></pre>

<p>If <code>my_path</code> were to consist of multiple paths, such as:</p>

<pre><code>set(my_paths path1 path2)
</code></pre>

<p>the config file will end up prefixing only path1 and I will end up with:</p>

<pre><code>${PACKAGE_PREFIX_DIR}path1;path2.
</code></pre>

<p>which results into path2 not being locatable. Is there any way of fixing this while still using the function provided by <code>PackageConfigHelpers</code>?</p>