mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
![Nils Wentzell](/assets/img/avatar_default.png)
Co-authored-by: Dylan Simon <dylan@dylex.net> Co-authored-by: Alexander Hampel <ahampel@flatironinstitute.org>
14 lines
345 B
CMake
14 lines
345 B
CMake
set(PACKAGE_VERSION @PROJECT_VERSION@)
|
|
|
|
if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
|
set(PACKAGE_VERSION_EXACT TRUE)
|
|
endif()
|
|
|
|
if (PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
|
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
|
endif()
|
|
|
|
if (PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
|
|
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
endif()
|