Am Dienstag, 28. Oktober 2014, 15:16:05 schrieb George:
> Hello,
>
> I am using cmake version 2.8.12.2. I am trying to force an exact version
> number match in a custom finder, and the VERSION_VAR parameter does not
> seem to be working the way I am using it.
>
> I have the following simple example:
>
> file: FindHello.cmake
> -------------------------------------
> include(FindPackageHandleStandardArgs)
> set( VV "1.5.0" )
> set( RV "Hello" )
> find_package_handle_standard_args(Hello REQUIRED_VARS RV VERSION_VAR ${VV} )find_package_handle_standard_args(Hello REQUIRED_VARS RV VERSION_VAR VV ) You want to pass the variable name to FPHSA, not it's content. Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
