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