From 8777ab79e04064ffcac805a60b173fa5b71735f6 Mon Sep 17 00:00:00 2001 From: raburton Date: Sun, 6 Jan 2008 10:05:15 +0000 Subject: [PATCH] The install prefix couldn't be overridden on the command line, the SET overrode any value you specified. Adding the cache keyword to SET seems to have fixed it though. Is this a cmake bug? --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5a1e26292..382a876927 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ IF(UNIX) IF(APPLE) ELSE(APPLE) # Like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command line. - SET(CMAKE_INSTALL_PREFIX /usr/local) + SET(CMAKE_INSTALL_PREFIX /usr/local CACHE PATH "") # When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX. SET(KICAD_BIN bin CACHE PATH "Location of KiCad binaries.") SET(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.")