Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f7712c

Browse files
committed
Merge pull request tinyobjloader#17 from nyue/master
Added installation steps
2 parents 79ac76c + 6dc2c69 commit 8f7712c

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

CMakeLists.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,21 @@ add_executable(test ${tinyobjloader-Test-Source})
3030
target_link_libraries(test tinyobjloader)
3131

3232
add_executable(obj_sticher ${tinyobjloader-examples-objsticher})
33-
target_link_libraries(obj_sticher tinyobjloader)
33+
target_link_libraries(obj_sticher tinyobjloader)
34+
35+
#Installation
36+
install ( TARGETS
37+
obj_sticher
38+
DESTINATION
39+
bin
40+
)
41+
install ( TARGETS
42+
tinyobjloader
43+
DESTINATION
44+
lib
45+
)
46+
install ( FILES
47+
tiny_obj_loader.h
48+
DESTINATION
49+
include
50+
)

0 commit comments

Comments
 (0)