Set CMAKE_XXX variables only if not set