Find packages that install their cmake package configuration files in `lib/cmake/<name>` when they are installed in the default Windows CMAKE_INSTALL_PREFIX, `C:/Program Files/<name>`. Closes: #16212
8 lines
202 B
CMake
8 lines
202 B
CMake
set(PACKAGE_VERSION 1.3)
|
|
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
|
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
|
if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 3)
|
|
set(PACKAGE_VERSION_EXACT 1)
|
|
endif()
|
|
endif()
|