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 + )