FindPostgreSQL does not find PostgreSQL 14
Hello!
As per $title.
Connected with https://github.com/actions/virtual-environments/issues/4243
This falls with the following snippet
- Detecting CXX compile features - done
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY) (found version
-- Configuring incomplete, errors occurred!
See also "D:/a/taopq/taopq/build/CMakeFiles/CMakeOutput.log".
"11.3")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.21/Modules/FindPostgreSQL.cmake:269 (find_package_handle_standard_args)
CMakeLists.txt:7 (find_package)
It looks like -DPostgreSQL_ADDITIONAL_VERSIONS
works, but looks really as kinda abnormal hack.
Edited by Mikhail Koliada