summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Howell <max@methylblue.com>2009-05-21 16:56:36 +0100
committerMax Howell <max@methylblue.com>2009-05-21 16:56:36 +0100
commita4518b6c9fbc2aa9ba3fd2da4eea673479733132 (patch)
tree1b8bcd6517710ce946ffe08428be3def0756ab81
parent55b497fe56faf9adbfc19388903eb8fe6b3fdcb1 (diff)
downloadyajl-a4518b6c9fbc2aa9ba3fd2da4eea673479733132.tar.gz
Fix ./configure --prefix
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index bed8c28..bcb3da9 100755
--- a/configure
+++ b/configure
@@ -53,7 +53,7 @@ FileUtils.rm_f("Makefile")
puts "== running CMake in build directory"
FileUtils.mkdir("build")
FileUtils.cd("build") do
- if (!system("cmake .."))
+ if (!system("cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' .."))
puts "The \"cmake\" program is required to configure yajl. It's"
puts "available from most ports/packaging systems and http://cmake.org"
exit 1