The option command establishes a CMake BOOL cache entry with the default value that you give it. Once it is in the cache, the cached value is used. The ON / OFF you give the command is just used as the initial default value for that cached entry.
It's behaving as intended. HTH, David On Thu, Jul 28, 2011 at 7:50 AM, Emrah Urhan <[email protected]> wrote: > I'm so sorry the version is 2.8.5... > ------------------------------------------------------------------------------------------------------------- > Emrah URHAN > ------------------------------------------------------------------------------------------------------------- > > > 2011/7/28 Emrah Urhan <[email protected]> >> >> option on/off command does not apply changes until I delete generated >> CMakeCache.txt file. Is there a bug or something I miss? >> >> ------------------------------------------------------------------------------------------------------------- >> Emrah URHAN >> >> ------------------------------------------------------------------------------------------------------------- > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
