Merge pull request #35 from DevManu-de/dev-redirect-handle
[psh.git] / lib / CMakeLists.txt
blob3ed59b08a571cc911ba88f8d594a95a8c86c892d
1 include(GNUInstallDirs)
3 add_library(libpsh STATIC path_searcher.c stringbuilder.c util.c xmalloc.c hash.c hasher.c)
4 # Name it libpsh here so that it won't collide with the executable
5 set_target_properties(libpsh PROPERTIES OUTPUT_NAME "psh")
7 install(DIRECTORY ../include/libpsh DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
8 install(TARGETS libpsh DESTINATION ${CMAKE_INSTALL_LIBDIR})