Skip to content

Commit

Permalink
Install target for library and header file
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Hernandez committed Apr 11, 2010
1 parent ed13be5 commit 4d87a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ CMakeFiles
Makefile
cmake_install.cmake
libvitapi.a

install_manifest.txt
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ set (vitapi_SRCS color.cpp
vitapi.h
check.h)
add_library (vitapi STATIC ${vitapi_SRCS})
set (CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")
install (TARGETS vitapi DESTINATION ${CMAKE_INSTALL_LIBDIR})
install (FILES vitapi.h DESTINATION include)

0 comments on commit 4d87a16

Please sign in to comment.