add_executable(pip_remote_console "main.cpp") target_link_libraries(pip_remote_console pip) if (DEFINED LIB) install(TARGETS pip_remote_console DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) endif ()