DKSDK_VERSION

This read-only directory property reports the full DkSDK version.

The property value is compatible with if(x VERSION_GREATER_EQUAL 1.0.0) and similar comparisons.

Examples

  • 1.0.0

  • 0.9.1.0

Usage

get_directory_property(v DKSDK_VERSION)
if(v VERSION_LESS 1.0.0)
  message(FATAL_ERROR "This project needs at least DkSDK 1.0.0")
endif()