Fix a CMake 3.1 policy violation warning in CMakeLists.txt.

This commit is contained in:
Wayne Stambaugh 2014-12-29 13:06:09 -05:00
parent fcbce8b60e
commit 02d89ad0a9
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ LINK_DIRECTORIES( ${LINK_DIRECTORIES_PATH} )
if( UNIX )
set( KICAD_USER_CONFIG_DIR $ENV{HOME} CACHE PATH "Location of user specific KiCad config files" )
elseif( MINGW )
set( KICAD_USER_CONFIG_DIR $ENV{%APPDATA%} CACHE PATH "Location of user specific KiCad config files" )
set( KICAD_USER_CONFIG_DIR $ENV{APPDATA} CACHE PATH "Location of user specific KiCad config files" )
endif()
mark_as_advanced( KICAD_USER_CONFIG_DIR )