Instructions to cache the CMAKE_MODULE_PATH variable

This commit is contained in:
Dragos Carp 2013-10-15 21:42:55 +02:00
parent 7b4e66d6f2
commit 77f3ad4ab0

View file

@ -8,7 +8,7 @@ Usage
1. Download and extract https://github.com/dcarp/cmaked2/archive/master.zip to a local directory \<cmaked2-path\>
2. Create a D CMake Project: project(project-name D)
3. Run cmake as usual specifing the cmaked2 path:<br/>
3. Run cmake as usual specifing the cmaked2 path. To cache it, don't forget to specify the variable type (:PATH).<br/>
```
cmake -DCMAKE_MODULE_PATH=<cmaked2-path> <path-to-source>
cmake -DCMAKE_MODULE_PATH:PATH=<cmaked2-path> <path-to-source>
```