message(STATUS "Building pisd") file(GLOB CPPS "*.cpp") file(GLOB HDRS "*.h") add_executable(pisd ${CPPS} ${HDRS}) target_link_libraries(pisd pip pip_crypt) # apple_rpath_patch(pisd) if (DEFINED LIB) install(TARGETS pisd DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) else() install(TARGETS pisd DESTINATION bin) endif()