You may also need to use FORCE:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
if(NOT CMAKE_BUILD_TYPE)<br>
set(CMAKE_BUILD_TYPE "Release" CACHE STRING<br>
"Choose the type of build, options are: Debug Release<br>
RelWithDebInfo MinSizeRel."<br>
FORCE)<br>
endif(NOT CMAKE_BUILD_TYPE)<br>
<br>
James<br>
_______________________________________________<br>
</blockquote><div><br>Great, that did it (it did require using FORCE). I don't understand why <docstring> is required? Why can you not leave that string alone and simply change the value of <variable>?<br>
<br clear="all">Thanks,<br><br>David<br>
<br></div></div>