From 6dc2c6916e4ec5e5160d5e5f35079251a4c23c91 Mon Sep 17 00:00:00 2001 From: Nicholas Yue Date: Tue, 15 Jul 2014 12:10:11 -0700 Subject: [PATCH] Added installation steps --- CMakeLists.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72bb155..94ec330 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,4 +30,21 @@ add_executable(test ${tinyobjloader-Test-Source}) target_link_libraries(test tinyobjloader) add_executable(obj_sticher ${tinyobjloader-examples-objsticher}) -target_link_libraries(obj_sticher tinyobjloader) \ No newline at end of file +target_link_libraries(obj_sticher tinyobjloader) + +#Installation +install ( TARGETS + obj_sticher + DESTINATION + bin + ) +install ( TARGETS + tinyobjloader + DESTINATION + lib + ) +install ( FILES + tiny_obj_loader.h + DESTINATION + include + )