summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--reformatter/CMakeLists.txt2
-rw-r--r--verify/CMakeLists.txt2
3 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 1fd157d..1792ec2 100755
--- a/configure
+++ b/configure
@@ -83,7 +83,7 @@ File.open("Makefile", "w+") do |f|
f.puts " @rm -f yajl-*.tgz"
f.puts
f.puts "install: all"
- f.puts " @echo oops, install target not yet implemented"
+ f.puts " @cd build && make install"
f.puts
f.puts "package: all"
f.puts " @echo \"compressing to `basename build/yajl-*`.tgz\""
diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt
index aa96f43..070370c 100644
--- a/reformatter/CMakeLists.txt
+++ b/reformatter/CMakeLists.txt
@@ -49,3 +49,5 @@ GET_TARGET_PROPERTY(binPath json_reformat LOCATION)
ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir})
+
+INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin)
diff --git a/verify/CMakeLists.txt b/verify/CMakeLists.txt
index 987b7eb..4013663 100644
--- a/verify/CMakeLists.txt
+++ b/verify/CMakeLists.txt
@@ -49,3 +49,5 @@ GET_TARGET_PROPERTY(binPath json_verify LOCATION)
ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir})
+
+INSTALL(TARGETS json_verify RUNTIME DESTINATION bin)