# Candera Version Validation

To ensure, that an application like the Player always refers to the proper [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") version, following CMake configurations can be used:

*&lt;CANDERA\_DIR&gt;/CgiStudioCanderaConfig.cmake*: This file specifies the actual version of [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]"), e.g.:

```
 set(CGI_CANDERA_VERSION "3.12.0.0") 
```

Accordingly, proper [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") build defines will be generated, accessible for applications via *&lt;CANDERA\_DIR&gt;/src/Candera/CanderaVersion.h*

*&lt;CGI-Player\_DIR&gt;/src/CgiStudioPrereqs.txt*: This file is an example how an application will request a specific [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") version:

```
 set(CGI_CANDERA_VERSION_REQUIRED "3.12.0.0") 
```

*&lt;CGI-Player\_DIR&gt;/cmake/cgiapp\_cmake\_common.cmake*: This cmake file contains an example how an application can detect a [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") folder matching a specific [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") version (via cmake find\_package command).