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