diff --git a/cmake/GtsamBuildTypes.cmake b/cmake/GtsamBuildTypes.cmake index f00f3b3b1..51e66627d 100644 --- a/cmake/GtsamBuildTypes.cmake +++ b/cmake/GtsamBuildTypes.cmake @@ -102,7 +102,7 @@ if( NOT cmake_build_type_tolower STREQUAL "" endif() # Mark that first pass is done -set(FIRST_PASS_DONE TRUE CACHE BOOL "Internally used to mark whether cmake has been run multiple times" FORCE) +set(FIRST_PASS_DONE TRUE CACHE INTERNAL "Internally used to mark whether cmake has been run multiple times") mark_as_advanced(FIRST_PASS_DONE) # Enable Visual Studio solution folders